Region Autoscaler Autoscaling Policy
data class RegionAutoscalerAutoscalingPolicy(val cooldownPeriod: Int? = null, val cpuUtilization: RegionAutoscalerAutoscalingPolicyCpuUtilization? = null, val loadBalancingUtilization: RegionAutoscalerAutoscalingPolicyLoadBalancingUtilization? = null, val maxReplicas: Int, val metrics: List<RegionAutoscalerAutoscalingPolicyMetric>? = null, val minReplicas: Int, val mode: String? = null, val scaleDownControl: RegionAutoscalerAutoscalingPolicyScaleDownControl? = null, val scaleInControl: RegionAutoscalerAutoscalingPolicyScaleInControl? = null, val scalingSchedules: List<RegionAutoscalerAutoscalingPolicyScalingSchedule>? = null)
Constructors
Link copied to clipboard
fun RegionAutoscalerAutoscalingPolicy(cooldownPeriod: Int? = null, cpuUtilization: RegionAutoscalerAutoscalingPolicyCpuUtilization? = null, loadBalancingUtilization: RegionAutoscalerAutoscalingPolicyLoadBalancingUtilization? = null, maxReplicas: Int, metrics: List<RegionAutoscalerAutoscalingPolicyMetric>? = null, minReplicas: Int, mode: String? = null, scaleDownControl: RegionAutoscalerAutoscalingPolicyScaleDownControl? = null, scaleInControl: RegionAutoscalerAutoscalingPolicyScaleInControl? = null, scalingSchedules: List<RegionAutoscalerAutoscalingPolicyScalingSchedule>? = null)
Types
Properties
Link copied to clipboard
The number of seconds that the autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.