kind: HorizontalPodAutoscaler
apiVersion: autoscaling/v1
metadata:
    name: gitlab-sidekiq-all-in-1
    namespace: gitlab
    selfLink: >-
        /apis/autoscaling/v1/namespaces/gitlab/horizontalpodautoscalers/gitlab-sidekiq-all-in-1
    uid: 998ae407-398b-11ea-b115-42010a8001d6
    resourceVersion: '275531496'
    creationTimestamp: '2020-01-18T00:43:52Z'
    labels:
        app: sidekiq
        chart: sidekiq-2.6.5
        heritage: Helm
        release: gitlab
    annotations:
        autoscaling.alpha.kubernetes.io/conditions: >-
            [{"type":"AbleToScale","status":"True","lastTransitionTime":"2020-01-18T00:44:11Z","reason":"ReadyForNewScale","message":"recommended
            size matches current
            size"},{"type":"ScalingActive","status":"True","lastTransitionTime":"2021-08-01T11:52:41Z","reason":"ValidMetricFound","message":"the
            HPA was able to successfully calculate a replica count from cpu
            resource"},{"type":"ScalingLimited","status":"False","lastTransitionTime":"2021-06-24T07:20:52Z","reason":"DesiredWithinRange","message":"the
            desired count is within the acceptable range"}]
        autoscaling.alpha.kubernetes.io/current-metrics: >-
            [{"type":"Resource","resource":{"name":"cpu","currentAverageValue":"31m"}}]
        autoscaling.alpha.kubernetes.io/metrics: >-
            [{"type":"Resource","resource":{"name":"cpu","targetAverageValue":"350m"}}]
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"autoscaling/v1","kind":"HorizontalPodAutoscaler","metadata":{"annotations":{"autoscaling.alpha.kubernetes.io/conditions":"[{\"type\":\"AbleToScale\",\"status\":\"True\",\"lastTransitionTime\":\"2020-01-18T00:44:11Z\",\"reason\":\"ReadyForNewScale\",\"message\":\"recommended
            size matches current
            size\"},{\"type\":\"ScalingActive\",\"status\":\"True\",\"lastTransitionTime\":\"2020-02-03T19:10:28Z\",\"reason\":\"ValidMetricFound\",\"message\":\"the
            HPA was able to successfully calculate a replica count from cpu
            resource\"},{\"type\":\"ScalingLimited\",\"status\":\"False\",\"lastTransitionTime\":\"2020-01-18T01:01:34Z\",\"reason\":\"DesiredWithinRange\",\"message\":\"the
            desired count is within the acceptable
            range\"}]","autoscaling.alpha.kubernetes.io/current-metrics":"[{\"type\":\"Resource\",\"resource\":{\"name\":\"cpu\",\"currentAverageValue\":\"15m\"}}]","autoscaling.alpha.kubernetes.io/metrics":"[{\"type\":\"Resource\",\"resource\":{\"name\":\"cpu\",\"targetAverageValue\":\"350m\"}}]"},"creationTimestamp":"2020-01-18T00:43:52Z","labels":{"app":"sidekiq","chart":"sidekiq-2.6.5","heritage":"Helm","release":"gitlab"},"name":"gitlab-sidekiq-all-in-1","namespace":"gitlab","selfLink":"/apis/autoscaling/v1/namespaces/gitlab/horizontalpodautoscalers/gitlab-sidekiq-all-in-1","uid":"998ae407-398b-11ea-b115-42010a8001d6"},"spec":{"maxReplicas":2,"minReplicas":1,"scaleTargetRef":{"apiVersion":"apps/v1","kind":"Deployment","name":"gitlab-sidekiq-all-in-1"}},"status":{"currentReplicas":9,"desiredReplicas":9,"lastScaleTime":"2020-02-02T23:45:10Z"}}
spec:
    scaleTargetRef:
        kind: Deployment
        name: gitlab-sidekiq-all-in-1
        apiVersion: apps/v1
    minReplicas: 1
    maxReplicas: 2
status:
    lastScaleTime: '2021-08-01T11:57:52Z'
    currentReplicas: 1
    desiredReplicas: 1

