kubernetes v1.31

HorizontalPodAutoscaler.status

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

6 fields
HorizontalPodAutoscaler.status fields and descriptions
Field / TypeDescription
HorizontalPodAutoscalerCondition[]

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

  • x-kubernetes-list-map-keys: ["type"]
  • x-kubernetes-list-type: "map"
  • x-kubernetes-patch-merge-key: "type"
  • x-kubernetes-patch-strategy: "merge"
MetricStatus[]

currentMetrics is the last read state of the metrics used by this autoscaler.

  • x-kubernetes-list-type: "atomic"
currentReplicas
integer

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

  • format: int32
desiredReplicas
integer required

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.

  • format: int32
Time

lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.

  • format: date-time
observedGeneration
integer

observedGeneration is the most recent generation observed by this autoscaler.

  • format: int64