Horizontal Pod Autoscaler Spec Patch Args
data class HorizontalPodAutoscalerSpecPatchArgs(val maxReplicas: Output<Int>? = null, val minReplicas: Output<Int>? = null, val scaleTargetRef: Output<CrossVersionObjectReferencePatchArgs>? = null, val targetCPUUtilizationPercentage: Output<Int>? = null) : ConvertibleToJava<HorizontalPodAutoscalerSpecPatchArgs>
specification of a horizontal pod autoscaler.
Constructors
Link copied to clipboard
fun HorizontalPodAutoscalerSpecPatchArgs(maxReplicas: Output<Int>? = null, minReplicas: Output<Int>? = null, scaleTargetRef: Output<CrossVersionObjectReferencePatchArgs>? = null, targetCPUUtilizationPercentage: Output<Int>? = null)
Functions
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.