OS
Schema Hub

HorizontalPodAutoscalerStatus

current status of a horizontal pod autoscaler

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/HorizontalPodAutoscalerStatus_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/HorizontalPodAutoscalerStatus_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

currentCPUUtilizationPercentageinteger
currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
currentReplicasintegerRequired
currentReplicas is the current number of replicas of pods managed by this autoscaler.
desiredReplicasintegerRequired
desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
lastScaleTimeobject
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.
observedGenerationinteger
observedGeneration is the most recent generation observed by this autoscaler.

Version Diff

Compare: