HPAScalingPolicy
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/HPAScalingPolicy_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/HPAScalingPolicy_v2.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
periodSecondsintegerRequiredperiodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
typestringRequiredtype is used to specify the scaling policy.
valueintegerRequiredvalue contains the amount of change which is permitted by the policy. It must be greater than zero