Horizontal Pod Autoscaler Spec Patch
data class HorizontalPodAutoscalerSpecPatch(val maxReplicas: Int? = null, val minReplicas: Int? = null, val scaleTargetRef: CrossVersionObjectReferencePatch? = null, val targetCPUUtilizationPercentage: Int? = null)
specification of a horizontal pod autoscaler.
Constructors
Link copied to clipboard
fun HorizontalPodAutoscalerSpecPatch(maxReplicas: Int? = null, minReplicas: Int? = null, scaleTargetRef: CrossVersionObjectReferencePatch? = null, targetCPUUtilizationPercentage: Int? = null)
Types
Properties
Link copied to clipboard
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.