

The cluster autoscaler decreases the number of nodes when there has been unused capacity for a period of time. If an application needs more resources, the number of pods is automatically increased to meet the demand.īoth the horizontal pod autoscaler and cluster autoscaler can also decrease the number of pods and nodes as needed. The horizontal pod autoscaler uses the Metrics Server in a Kubernetes cluster to monitor the resource demand of pods.

The cluster then automatically increases the number of nodes.
