The talk¶
Mastering Custom Node Pools in EKS Auto Mode Keep the managed service. Take back the infrastructure.
AWS Community Day Australia 2026 · Brisbane Convention & Exhibition Centre · 16 October 2026
Arshad Zackeriya [Zack]: AWS Hero (New Zealand), AWS UG Leader (Wellington, NZ), Platform Engineer – Kubernetes.
Slides: [SLIDES LINK: Zack to add]
You don't run a marathon in safety boots. The wrong shoe doesn't fail in the shop. It fails at the 5th kilometer.
Abstract¶
EKS Auto Mode hands you a very good pair of running shoes. For most clusters, most of the time, that is exactly the right trade. But you don't run a marathon in steel toe caps, and you don't walk onto a building site in trainers. The wrong shoe doesn't fail in the shop — it fails at mile eight.
When your applications require specific hardware, strict security controls, or unique networking, the default configuration is not what the job calls for, and the built-in node pools cannot be altered to fix it. In this talk we will break down the gap between managed convenience and the custom requirements of real world production workloads. You will learn the practical differences between NodePools and NodeClasses, and how to design them for your specific needs. We will show you how to keep the benefits of a managed service while taking full control of your infrastructure.
Key takeaways¶
- NodeClass is the infrastructure contract. Every edit drifts every pool.
- NodePool is the disruption contract. Choose the consolidation policy deliberately. Evaluate Balanced.
- Static for never-disrupt, Spot for burst. Same NodeClass, different promises, and "never" means "on my terms".
- Overlap needs a decision. Weight for priority, taints plus selectors for exclusivity.
- Know the limits.
Session at a glance¶
- The split: what Auto Mode owns, what you own
- NodeClass: the full spec, now including node tuning
- NodePool: disruption, weight, static vs. dynamic
- Patterns: two pools, two jobs
- Limitations
- Takeaways
The split¶
| AWS owns | You own |
|---|---|
| The Karpenter controller: version, HA, patching. You can't pin it. | NodeClass: the infrastructure contract: identity, network, security, capacity |
| The node OS: AWS-managed Bottlerocket, replaced on upgrade | NodePool: the disruption contract: requirements, consolidation, budgets, limits, weight |
| CoreDNS, VPC CNI, kube-proxy and more: run as systemd services on every node, not as pods | Workload contracts: PDBs, tolerations, do-not-disrupt |
Built-in system and general-purpose pools: enable or disable only |
Try it: 02 Read the defaults.
Not what the job calls for¶
Stateless apps, stateful databases, batch jobs and GPU/ARM workloads all have different infrastructure needs. Compliance doesn't negotiate. Neither does a GPU scheduler. What production actually asks for:
- Mandatory tags on every instance: cost centre, owner, env
- Pods in different subnets and security groups than their nodes
- Controlled Karpenter consolidation
- Custom IAM roles
NodePool vs. NodeClass¶
| NodePool: the WHAT (workload requirements) | NodeClass: the HOW (how the node is built) |
|---|---|
| What instance types? | What IAM role? |
| What capacity type? (Spot vs. On-Demand) | What subnets? |
| What architecture? | What security groups? |
| What taints & labels? | Tags |
| What disruption rules? |
When to customise¶
| Shoe | Scenario | Carries the fix | |
|---|---|---|---|
| 01 | steel toe caps | Regulated: a custom NodeClass places nodes in specific private subnets with security groups. Also, tag management. | NodeClass |
| 02 | studs | Specialised: GPU or ARM. Static NodePools for databases. Tainted so only the right pods land. | NodeClass + NodePool |
| 03 | racing flats | Bursty: Spot across a wide instance surface. Balanced consolidation. Short consolidateAfter. Fault-tolerant work only. |
NodePool |
Part 1 · The NodeClass: how is the node built?¶
Node tuning¶
advancedCompute:
kubelet:
maxPods: 48 # pods per node
kernel:
sysctl:
vm.max_map_count: 262144 # e.g. Elasticsearch, databases
hugepages:
pages:
- { size: "2Mi", count: 512 } # memory reserved for databases
- Set once, at boot. Change it later and the nodes are replaced, not updated.
- Only approved settings. AWS allows a fixed list, with safe limits. Anything else is rejected.
maxPodsis a maximum, not a target. Smaller instances may fit fewer pods than you asked for.
What you'll see when you try it
The hands-on guide uses these same values, tested on a real EKS 1.37 Auto
Mode cluster. maxPods: 48 shows as 48 on the 8-vCPU Spot nodes but 27
on the 2-vCPU static nodes, exactly the "maximum, not a target" point above.
And Auto Mode's Bottlerocket nodes already default vm.max_map_count to
1048576, so 262144 actually lowers it. Step 07
shows both.
Try it: 03 Your node IAM role, 04 The NodeClass, 07 Prove the tuning.
How many NodeClasses?¶
One per distinct infrastructure contract. Not one per team. And never name
one default.
| NodeClass | Contract | NodePools on it |
|---|---|---|
| standard | private subnets · tags | stable, spot-burst |
| regulated | pod subnets | payments, PII-batch |
| accelerated | GPU | gpu-training |
| tuned-db | static | postgres |
Part 2 · The NodePool: when can a node be taken away?¶
Disruption is a contract¶
consolidationPolicy |
What it does | Fits |
|---|---|---|
WhenEmpty |
Only removes nodes with no workload pods | Stateful, long-running |
WhenEmptyOrUnderutilized |
Also bin-packs underused nodes. Moves pods to save money. | Stateless, fast-starting |
Balanced |
Scores each action: savings vs. disruption cost | The new default worth evaluating |
Try it: 05 The NodePools, 08 Watch consolidation, Balanced vs WhenEmptyOrUnderutilized lab.
One pod, many pools¶
You own more than one pair of shoes. Every morning, you still have to pick one. A pending pod that fits more than one NodePool is a design smell, unless you've made the choice explicit. Two ways to decide:
- Priority: higher
weightis tried first. Hit its limits and scheduling falls through to the next (e.g.reserved-firstat weight 100 withlimits: { cpu: 256 }, what you prepaid, thenon-demand-spillat weight 10). - Exclusivity: taint the pool; pods opt in with a toleration, plus a nodeSelector to opt out of the rest. A toleration lets a pod in. It doesn't keep it out of other pools: you need both halves.
Try it: 06 Workloads, weight fall-through lab.
Part 3 · Patterns: what does good look like?¶
Two pools, two jobs¶
Never disrupt this: static capacity, no consolidation.
spec:
replicas: 3 # fixed node count
disruption:
budgets:
- nodes: "0"
reasons: ["Drifted"]
schedule: "0 20 * * sun-thu" # UTC
duration: 8h
template:
spec:
expireAfter: 480h # cap: 21d
Fixed node count. Never consolidated. Still replaced: 21-day max lifetime, plus drift on every new AMI (default expiry 14 days). Budgets choose when. PDBs make it survivable.
Burst and save: Spot fleet, cost-weighted churn.
spec:
disruption:
consolidationPolicy: Balanced
consolidateAfter: 1m
template:
spec:
requirements:
- key: karpenter.sh/capacity-type
values: ["spot"]
- key: eks.amazonaws.com/instance-category
values: ["c", "m", "r"]
Wide requirements = deeper Spot pools. Balanced skips churn that isn't worth the disruption. Pair with PDBs: Spot warns you, it doesn't wait.
These are slide excerpts. The complete, tested manifests (including the
always-on nodes: "1" budget and the consolidateAfter field Auto Mode
requires on a static pool) are in step 05.
Try it: 05 The NodePools, 06 Workloads, static scale lab, live drift lab.
Part 4 · Limits: where does it stop?¶
What you still can't do:
- Modify the built-in pools. Enable or disable only. Replace, don't edit.
- Bring your own AMI. Bottlerocket only. But kubelet, sysctls and hugepages now live in the NodeClass.
- Run Windows nodes. Auto Mode is Linux only.
- Escape node replacement. Nodes live at most 21 days, expiry ignores budgets, and new AMIs cause drift (default expiry 14 days).
This list shrinks every quarter. Check the Auto Mode release notes before you rule something out.