Files
deploy/gitops-engine/pkg/health/testdata/hpa-v1-progressing.yaml
2025-09-23 10:05:42 -04:00

18 lines
566 B
YAML

apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
annotations:
autoscaling.alpha.kubernetes.io/conditions: '[{"type":"AbleToScale","status":"False","lastTransitionTime":"2020-11-23T19:38:38Z","reason":"SucceededGetScale","message":"the HPA controller was not able to get the target''s current scale"}]'
name: sample
namespace: argocd
spec:
maxReplicas: 1
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: sample
targetCPUUtilizationPercentage: 2
status:
currentReplicas: 1
desiredReplicas: 0