# argocd_source_hpa-v2beta1-healthy-disabled.yaml
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  creationTimestamp: '2021-09-15T09:31:50Z'
  name: sample
  namespace: argocd
  resourceVersion: '18886245'
  selfLink: >-
    /apis/autoscaling/v2beta1/namespaces/argocd/horizontalpodautoscalers/sample
  uid: c10a6092-1607-11ec-a314-020fc740624d
spec:
  maxReplicas: 3
  metrics:
    - resource:
        name: cpu
        targetAverageUtilization: 80
      type: Resource
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: test
status:
  conditions:
    - lastTransitionTime: '2021-09-15T09:32:05Z'
      message: the HPA controller was able to get the target's current scale
      reason: SucceededGetScale
      status: 'True'
      type: AbleToScale
    - lastTransitionTime: '2021-09-15T09:32:05Z'
      message: scaling is disabled since the replica count of the target is zero
      reason: ScalingDisabled
      status: 'False'
      type: ScalingActive
  currentMetrics: []
  currentReplicas: 0
  desiredReplicas: 0