Autoscaler Autoscaling Policy Cpu Utilization Args
data class AutoscalerAutoscalingPolicyCpuUtilizationArgs(val predictiveMethod: Output<String>? = null, val target: Output<Double>) : ConvertibleToJava<AutoscalerAutoscalingPolicyCpuUtilizationArgs>
Properties
Link copied to clipboard
Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are:
Link copied to clipboard
The target CPU utilization that the autoscaler should maintain. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales down the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales up until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.