How to use
- Pick your instance type — type two letters to search all 1404 types in AWS's cache, then press Enter.
- Read the number and the steps behind it: formula, substitution, result, and the cap if one applies.
- Tick Prefix delegation if the VPC CNI runs with
ENABLE_PREFIX_DELEGATION=true, and Managed node group if the node group has no custom AMI — the URL updates so you can share the exact configuration.
Worked examples
| Instance | Calculation | maxPods | Note |
|---|---|---|---|
t3.micro | 2 × (2 − 1) + 2 | 4 | two ENIs, two addresses each |
t3.medium | 3 × (6 − 1) + 2 | 17 | AWS's own Go test vector |
m5.large | 3 × (10 − 1) + 2 | 29 | the value kubectl reports on a default node |
m5.xlarge | 4 × (15 − 1) + 2 | 58 | four ENIs as the instance grows |
m5.24xlarge | 15 × (50 − 1) + 2 | 737 | capped at 250 by a managed node group |
t3.medium, prefix on | 3 × ((6 − 1) × 16) + 2 | 242 | one /28 prefix per IP slot — capped at 110 by a managed node group |
How maxPods is decided
AWS documents the order of precedence (highest to lowest); this page applies the same chain:
- Managed node group enforcement — no custom AMI means EKS injects a cap into the user data: 110 below 30 vCPUs, 250 from 30. It takes precedence over any other configuration, including
maxPodsExpression. - kubelet
maxPods— set directly in the kubelet configuration (usually via a launch template with a custom AMI); beats the expression below. - nodeadm
maxPodsExpression— a custom CEL expression overdefault_enis,ips_per_eni,max_pods,vcpusandphysical_memory_mibin aNodeConfig. - The ENI formula — what you get when nothing above is set:
ENIs × (IPs per ENI − 1) + 2.
A managed node group with several instance types applies the smallest value calculated across all of them to every node in the group.
Gotchas this tool checks for
IP addresses, not CPU or memory, decide the cap
Every Pod gets its own IP, so a node can have cores and gigabytes to spare and still refuse new Pods because it ran out of addresses. On an m5.large that budget is 3 ENIs × 10 addresses: one per ENI stays with the node, nine become Pod IPs, and the formula adds two for the node's own networking.
m5.large3 ENIs · 10 IPv4 addresses each3 × (10 − 1) + 2 = 29.The managed node group cap silently overrides everything
Without a custom AMI, EKS injects 110 (below 30 vCPUs) or 250 (from 30) into the node's user data — including over a carefully chosen maxPodsExpression. A big instance such as m5.24xlarge computes 737 addresses but runs at most 250 Pods in a managed node group; the checkbox here shows the binding cap.
Prefix delegation needs room in the subnet
Each /28 prefix must be a contiguous free block, so a fragmented subnet makes the CNI fail with InsufficientCidrBlocks instead of handing out prefixes. Reserve ranges or use dedicated subnets, keep VPC CNI at 1.9.0 or later, and remember the 110/250 cap applies whether prefix delegation is enabled or not.
The subnet has to hold every Pod address
With the VPC CNI each Pod takes an address from the node's subnet, so nodes × max Pods per node is the number of addresses the subnets must hold, plus the five AWS reserves in each. Plan the split across Availability Zones before the cluster grows; on clusters that give Pods a separate range (kubeadm, k3s, GKE, AKS overlay) size the cluster CIDR instead.
Max Pods by instance family
Every size of the common families with the managed node group cap applied, and the generations of each kind compared side by side. Lime is what a managed node group allows; the hatched top is what its cap cuts off.
t3Intel Xeont3.large: 35 Pods · 7 sizes up to 58No size reaches the managed node group cap.m5Intel Xeon Platinumm5.large: 29 Pods · 9 sizes up to 7374 of 9 sizes are cut by the managed node group cap.c5Intel Xeon Platinumc5.large: 29 Pods · 9 sizes up to 7374 of 9 sizes are cut by the managed node group cap.r5Intel Xeon Platinumr5.large: 29 Pods · 9 sizes up to 7374 of 9 sizes are cut by the managed node group cap.
Verification
- The formula is AWS's own:
eni_max_pods.goin the nodeadm package ofawslabs/amazon-eks-ami(MIT), whose test vectors — 3 ENIs × 6 IPs → 17, 6 × 12 → 68, prefix t3.medium → 242 — are asserted by this project's unit tests. - Published values match: t3.medium 17, m5.large 29, m5.xlarge 58, m5.24xlarge 737; the 110/250 caps come verbatim from the EKS user guide's “How maxPods is determined”.
- Instance data is a pinned snapshot of
instance-info.jsonl(commit8254d71b6b20, data as of 2026-09-28, 1404 types), validated on every test run with the same invariants AWS checks, and regenerated byfetch-eks-instance-info.mjsinscripts/. - The e2e spec proves it stays local: the whole instance list ships inside the page bundle and no request carries your selection.