Turn on autoscaling

Let the cluster autoscaler grow a node group when pods cannot be scheduled and shrink it when nodes are underused, and tune it for the whole cluster.

Last updated 18 November 2026View as Markdown

Replace my-cluster with your cluster's name or id, and workers with the node group's name.

With autoscaling on, the cluster autoscaler changes the group's desiredSize between minSize and maxSize: pods that cannot be scheduled for lack of room grow the group, and underused nodes are drained and removed. Each change appears in Activity.

Prerequisites

  • Permission for eks:UpdateNodegroupConfig (or eks:CreateNodegroup for a new group); for the cluster-wide settings, eks:UpdateClusterConfig.
  • In the console, also eks:DescribeCluster and eks:ListNodegroups.

Turn it on for a node group

  1. Open Kubernetes, open the cluster, then choose Node groups.
  2. On the node group's row, choose Edit.
  3. Turn on Autoscaling, and set Minimum and Maximum.
  4. Choose Save.

A node group created together with its cluster starts with autoscaling off; turn it on this way.

Tune the autoscaler for the cluster

Three settings apply to every node group of the cluster that has autoscaling on:

Setting Default Range Meaning
scaleDownUtilizationThreshold 0.5 0.1–0.9 A node whose pods request less than this share of CPU and memory may go.
scaleDownUnneededMinutes 10 1–120 How long a node must be unneeded before it goes.
expander least-waste least-waste, random, most-pods Which group grows when several could.

Not available in Console. The console does not show or change the autoscaler's settings.

Settings you leave out keep their current value.

Did this page help you?