AutoscalingPolicyScaleDownControlArgs

data class AutoscalingPolicyScaleDownControlArgs(val maxScaledDownReplicas: Output<FixedOrPercentArgs>? = null, val timeWindowSec: Output<Int>? = null) : ConvertibleToJava<AutoscalingPolicyScaleDownControlArgs>

Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.

Constructors

Link copied to clipboard
fun AutoscalingPolicyScaleDownControlArgs(maxScaledDownReplicas: Output<FixedOrPercentArgs>? = null, timeWindowSec: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AutoscalingPolicyScaleDownControlArgs

Properties

Link copied to clipboard

Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.

Link copied to clipboard
val timeWindowSec: Output<Int>? = null

How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.