horizontalPodAutoscaler
HorizontalPodAutoscaler configuration for this controller. Only supported for deployment and statefulset types. See https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ for details.
object
Properties
Section titled “Properties”| Property | Type | Required | Default | Description |
|---|---|---|---|---|
annotations | object / null | No | - | Annotations to set on the item. Keys and values support H… |
behavior | object | No | - | Scaling behavior configuration. Passed through directly t… |
labels | object / null | No | - | Labels to set on the item. Keys and values support Helm t… |
maxReplicas | integer | Yes | - | Maximum number of replicas. |
metrics | array | No | - | Metrics to use for scaling. Passed through directly to th… |
minReplicas | integer / null | No | - | Minimum number of replicas. Set to 0 to enable scale-to-z… |
Property Details
Section titled “Property Details”annotations
Section titled “annotations”Annotations to set on the item. Keys and values support Helm templating.
behavior
Section titled “behavior”Scaling behavior configuration. Passed through directly to the autoscaling/v2 HPA spec.
labels
Section titled “labels”Labels to set on the item. Keys and values support Helm templating.
metrics
Section titled “metrics”Metrics to use for scaling. Passed through directly to the autoscaling/v2 HPA spec.
minReplicas
Section titled “minReplicas”Minimum number of replicas. Set to 0 to enable scale-to-zero when the HPAScaleToZero feature gate is enabled.