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