Skip to content

02 · Read the defaults before you replace them

Goal: know what the built-in pools do, so every choice in your own pools is a deliberate deviation from them.

The built-in NodePool

kubectl get nodepool general-purpose -o yaml

Look at three blocks:

On a fresh 1.37 cluster (checked in October 2026) it looks like this:

Field Built-in value What it means
disruption.consolidationPolicy Balanced New on 1.37; you can't change it on the built-ins
disruption.consolidateAfter 30s Nodes become consolidation candidates quickly
disruption.budgets nodes: 10% At most 10% of the pool disrupted at once
template.spec.expireAfter 336h Every node is replaced within 14 days
template.spec.terminationGracePeriod 24h Hard ceiling on draining a node
template.spec.requirements on-demand · c/m/r · generation > 4 · amd64 Broad, on-demand, x86 only

Every custom pool you write is a deviation from that baseline, so make each deviation on purpose.

Verify, don't memorise

AWS can and does change these defaults (1.37 just changed the consolidation policy). Read them on your cluster before you quote them.

The built-in NodeClass

kubectl get nodeclass default -o yaml

Note spec.role: a role eksctl generated, with a generated name. And look at status. It shows what the selectors resolved to: the actual subnets (with their zones), the security group, and the instance profile Auto Mode created for the role.

kubectl get nodeclass default -o jsonpath='{.status.subnets[*].id}{"\n"}'

Compare those with the cluster's private subnets:

aws ec2 describe-subnets \
  --filters "Name=tag:alpha.eksctl.io/cluster-name,Values=$CLUSTER_NAME" \
  --query 'Subnets[].{id: SubnetId, az: AvailabilityZone, public: MapPublicIpOnLaunch}' \
  --output table

With current eksctl, the default NodeClass lists only the three subnets with public: False. If public subnets ever appear in its status, built-in nodes can get public IPs, and you can't change that on the built-in.

Why we can't just edit them

The built-in system and general-purpose pools and the default NodeClass belong to AWS. You can enable or disable them (through the cluster's computeConfig), but you can't modify them; Auto Mode reconciles them back.

So when a requirement shows up (your IAM role, mandatory tags, private subnets only, no public IPs, different kubelet settings), the answer is never "tweak the default". It's your own NodeClass and NodePool, side by side with the built-ins. That's the split from the talk: AWS owns the controller, the OS and the built-ins; you own the two contracts.

Tip

We keep the built-ins enabled for this guide. They run anything that doesn't ask for our pools, and step 07 uses general-purpose as a control.

Next: 03 Your node IAM role.