OS
Schema Hub

HorizontalPodAutoscalerCondition

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/HorizontalPodAutoscalerCondition_v2.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/HorizontalPodAutoscalerCondition_v2.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

lastTransitionTimeobject
lastTransitionTime is the last time the condition transitioned from one status to another
messagestring
message is a human-readable explanation containing details about the transition
reasonstring
reason is the reason for the condition's last transition.
statusstringRequired
status is the status of the condition (True, False, Unknown)
typestringRequired
type describes the current condition