Skip to content

Commit b8c1f6b

Browse files
Merge pull request #230723 from schaffererin/cluster-autoscaler-aks
Adding link to k8s documentation explaining how CA scale-down works
2 parents 2a54498 + da48a46 commit b8c1f6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/aks/cluster-autoscaler.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ To adjust to changing application demands, such as between the workday and eveni
2525

2626
![The cluster autoscaler and horizontal pod autoscaler often work together to support the required application demands](media/autoscaler/cluster-autoscaler.png)
2727

28-
Both the horizontal pod autoscaler and cluster autoscaler can also decrease the number of pods and nodes as needed. The cluster autoscaler decreases the number of nodes when there has been unused capacity for a period of time. Pods on a node to be removed by the cluster autoscaler are safely scheduled elsewhere in the cluster. The cluster autoscaler may be unable to scale down if pods can't move, such as in the following situations:
28+
Both the horizontal pod autoscaler and cluster autoscaler can also decrease the number of pods and nodes as needed. The cluster autoscaler decreases the number of nodes when there has been unused capacity for a period of time. Pods on a node to be removed by the cluster autoscaler are safely scheduled elsewhere in the cluster. For more information about how scaling down works, see [How does scale-down work?]https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-scale-down-work).
29+
30+
The cluster autoscaler may be unable to scale down if pods can't move, such as in the following situations:
2931

3032
* A pod is directly created and isn't backed by a controller object, such as a deployment or replica set.
3133
* A pod disruption budget (PDB) is too restrictive and doesn't allow the number of pods to be fall below a certain threshold.
3234
* A pod uses node selectors or anti-affinity that can't be honored if scheduled on a different node.
3335

34-
For more information about how the cluster autoscaler may be unable to scale down, see [What types of pods can prevent the cluster autoscaler from removing a node?][autoscaler-scaledown]
36+
For more information about how the cluster autoscaler may be unable to scale down, see [What types of pods can prevent the cluster autoscaler from removing a node?][autoscaler-scaledown].
3537

3638
The cluster autoscaler uses startup parameters for things like time intervals between scale events and resource thresholds. For more information on what parameters the cluster autoscaler uses, see [Using the autoscaler profile](#using-the-autoscaler-profile).
3739

0 commit comments

Comments
 (0)