ManagedClusterPropertiesAutoScalerProfile interface

Parameters to be applied to the cluster-autoscaler when enabled

Properties

balanceSimilarNodeGroups

Valid values are 'true' and 'false'

daemonsetEvictionForEmptyNodes

If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.

daemonsetEvictionForOccupiedNodes

If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.

expander

If not specified, the default is 'random'. See expanders for more information.

ignoreDaemonsetsUtilization

If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.

maxEmptyBulkDelete

The default is 10.

maxGracefulTerminationSec

The default is 600.

maxNodeProvisionTime

The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

maxTotalUnreadyPercentage

The default is 45. The maximum is 100 and the minimum is 0.

newPodScaleUpDelay

For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).

okTotalUnreadyCount

This must be an integer. The default is 3.

scaleDownDelayAfterAdd

The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownDelayAfterDelete

The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownDelayAfterFailure

The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownUnneededTime

The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownUnreadyTime

The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownUtilizationThreshold

The default is '0.5'.

scanInterval

The default is '10'. Values must be an integer number of seconds.

skipNodesWithLocalStorage

The default is true.

skipNodesWithSystemPods

The default is true.

Property Details

balanceSimilarNodeGroups

Valid values are 'true' and 'false'

balanceSimilarNodeGroups?: string

Property Value

string

daemonsetEvictionForEmptyNodes

If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.

daemonsetEvictionForEmptyNodes?: boolean

Property Value

boolean

daemonsetEvictionForOccupiedNodes

If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.

daemonsetEvictionForOccupiedNodes?: boolean

Property Value

boolean

expander

If not specified, the default is 'random'. See expanders for more information.

expander?: string

Property Value

string

ignoreDaemonsetsUtilization

If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.

ignoreDaemonsetsUtilization?: boolean

Property Value

boolean

maxEmptyBulkDelete

The default is 10.

maxEmptyBulkDelete?: string

Property Value

string

maxGracefulTerminationSec

The default is 600.

maxGracefulTerminationSec?: string

Property Value

string

maxNodeProvisionTime

The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

maxNodeProvisionTime?: string

Property Value

string

maxTotalUnreadyPercentage

The default is 45. The maximum is 100 and the minimum is 0.

maxTotalUnreadyPercentage?: string

Property Value

string

newPodScaleUpDelay

For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).

newPodScaleUpDelay?: string

Property Value

string

okTotalUnreadyCount

This must be an integer. The default is 3.

okTotalUnreadyCount?: string

Property Value

string

scaleDownDelayAfterAdd

The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownDelayAfterAdd?: string

Property Value

string

scaleDownDelayAfterDelete

The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownDelayAfterDelete?: string

Property Value

string

scaleDownDelayAfterFailure

The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownDelayAfterFailure?: string

Property Value

string

scaleDownUnneededTime

The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownUnneededTime?: string

Property Value

string

scaleDownUnreadyTime

The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

scaleDownUnreadyTime?: string

Property Value

string

scaleDownUtilizationThreshold

The default is '0.5'.

scaleDownUtilizationThreshold?: string

Property Value

string

scanInterval

The default is '10'. Values must be an integer number of seconds.

scanInterval?: string

Property Value

string

skipNodesWithLocalStorage

The default is true.

skipNodesWithLocalStorage?: string

Property Value

string

skipNodesWithSystemPods

The default is true.

skipNodesWithSystemPods?: string

Property Value

string