interface ClusterAutoscalerConfig {
    balanceSimilarNodeGroups: boolean;
    estimator: AutoscalerEstimator;
    expander: AutoscalerExpander;
    expendablePodsPriorityCutoff: number;
    ignoreDaemonsetsUtilization: boolean;
    maxGracefulTerminationSec: number;
    scaleDownDelayAfterAdd: string;
    scaleDownDisabled: boolean;
    scaleDownUnneededTime: string;
    scaleDownUtilizationThreshold: number;
}

Properties

balanceSimilarNodeGroups: boolean

Detect similar node groups and balance the number of nodes between them.

Type of resource estimator to be used in scale up.

Type of node group expander to be used in scale up.

expendablePodsPriorityCutoff: number

Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they won't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

ignoreDaemonsetsUtilization: boolean

Ignore DaemonSet pods when calculating resource utilization for scaling down.

maxGracefulTerminationSec: number

Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node.

scaleDownDelayAfterAdd: string

How long after scale up that scale down evaluation resumes.

scaleDownDisabled: boolean

Disable the cluster autoscaler.

scaleDownUnneededTime: string

How long a node should be unneeded before it is eligible to be scaled down.

scaleDownUtilizationThreshold: number

Node utilization level, defined as a sum of requested resources divided by capacity, below which a node can be considered for scale down.