Package version:

Profile of load based Autoscale.

interface LoadBasedConfig {
    cooldownPeriod?: number;
    maxNodes: number;
    minNodes: number;
    pollInterval?: number;
    scalingRules: ScalingRule[];
}

Properties

cooldownPeriod?: number

This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds.

maxNodes: number

User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

minNodes: number

User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

pollInterval?: number

User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation.

scalingRules: ScalingRule[]

The scaling rules.