argo-cd/resource_customizations/keda.sh/ScaledObject/health_test.yaml
Rick Brouwer d3223a8c9f
feat: add Fallback condition to KEDA ScaledObject health assessment (#22844)
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
2025-05-21 15:23:40 -04:00

25 lines
887 B
YAML

tests:
- healthStatus:
status: Progressing
message: "Creating HorizontalPodAutoscaler Object"
inputPath: testdata/keda-progressing.yaml
- healthStatus:
status: Degraded
message: "ScaledObject doesn't have correct Idle/Min/Max Replica Counts specification"
inputPath: testdata/keda-degraded-1.yaml
- healthStatus:
status: Degraded
message: "ScaledObject doesn't have correct triggers specification"
inputPath: testdata/keda-degraded.yaml
- healthStatus:
status: Healthy
message: "ScaledObject is defined correctly and is ready for scaling"
inputPath: testdata/keda-healthy.yaml
- healthStatus:
status: Suspended
message: "ScaledObject is paused"
inputPath: testdata/keda-suspended.yaml
- healthStatus:
status: Degraded
message: "At least one trigger is falling back on this scaled object"
inputPath: testdata/keda-fallback.yaml