OpsPane

Calculate max pods per node for every EC2 instance type, with prefix delegation and the IP addresses your pod CIDR must hold.

Instance type

Maximum Pods per node

29

m5.large · 3 ENIs · 10 IPv4 per ENI · 2 vCPU · 8 GiB

  1. ENI formula3 × (10 − 1) + 2=29

Instance data: 1404 instance types from instance-info.jsonl (MIT, Amazon) — AWS regenerates it daily, snapshot data as of 2026-09-28.

Updated Runs locally in your browser

Quick answer

  • Default: maxPods = ENIs × (IPs per ENI − 1) + 2. An m5.large has 3 ENIs with 10 addresses each: 3 × (10 − 1) + 2 = 29.
  • A managed node group without a custom AMI caps it at 110 below 30 vCPUs and 250 from 30 vCPUs, over any other setting.
  • With prefix delegation each IP slot holds a /28 prefix of 16 addresses: a t3.medium goes from 17 to 242, and the managed node group cap still applies.
  • CPU and memory are not in the formula: IP addresses decide the limit.

How to use

  1. Pick your instance type — type two letters to search all 1404 types in AWS's cache, then press Enter.
  2. Read the number and the steps behind it: formula, substitution, result, and the cap if one applies.
  3. 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

InstanceCalculationmaxPodsNote
t3.micro2 × (2 − 1) + 24two ENIs, two addresses each
t3.medium3 × (6 − 1) + 217AWS's own Go test vector
m5.large3 × (10 − 1) + 229the value kubectl reports on a default node
m5.xlarge4 × (15 − 1) + 258four ENIs as the instance grows
m5.24xlarge15 × (50 − 1) + 2737capped at 250 by a managed node group
t3.medium, prefix on3 × ((6 − 1) × 16) + 2242one /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:

  1. 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.
  2. kubelet maxPods — set directly in the kubelet configuration (usually via a launch template with a custom AMI); beats the expression below.
  3. nodeadm maxPodsExpression — a custom CEL expression over default_enis, ips_per_eni, max_pods, vcpus and physical_memory_mib in a NodeConfig.
  4. 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 each
Each ENI keeps one address for the node, the rest become Pod IPs, and the formula adds 2 for the node's own networking: 3 × (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.

All 13 instance families

Verification

FAQ

How is maxPods calculated on EKS?

The default is ENIs × (IPs per ENI − 1) + 2: every ENI keeps one address for the node, the rest can go to Pods, and the 2 accounts for the Amazon VPC CNI and kube-proxy running on every node, which don't consume a Pod IP address. It's the formula in AWS's own nodeadm source; this page shows it computed step by step for 1404 instance types.

Why is my node stuck at 110 Pods when it has more IPs?

Managed node groups without a custom AMI inject a cap into the node's user data: 110 below 30 vCPUs, 250 from 30 vCPUs. That cap takes precedence over any other maxPods configuration, including maxPodsExpression. Tick the managed node group checkbox here to see it bind — or give the launch template a custom AMI and set maxPods yourself.

Does prefix delegation change the calculation?

Yes. With ENABLE_PREFIX_DELEGATION=true each IP slot on an ENI can hold a /28 prefix of 16 addresses, so the formula becomes ENIs × ((IPs − 1) × 16) + 2 — a t3.medium jumps from 17 to 242. It needs Nitro instances, free contiguous /28 blocks in the subnet (otherwise the CNI fails with InsufficientCidrBlocks) and VPC CNI 1.9.0 or later, and the 110/250 cap still applies in a managed node group.

Does CPU or memory affect the maximum number of Pods?

No. The formula only uses ENI and IP counts; CPU and memory decide whether the node can actually schedule and run what it admits. A node can be CPU-full long before it hits its IP budget — that's what Kubernetes resource requests are for.

What about EKS Auto Mode?

Auto Mode nodes limit Pods to the lower of a 110 hard cap and ENIs × (IPs per ENI − 1) — note there is no + 2 in that expression. It's a platform-managed rule, not something you configure, so this page treats it as a footnote rather than a mode.

How do I check what a live node actually uses?

Run kubectl describe node <name> and read the Capacity and Allocations lines: the Pods capacity is kubelet's configured maxPods. If it differs from this page, someone set maxPods explicitly (kubelet config or maxPodsExpression) or the node is in a managed node group with the cap injected.

Private by design

Your input is processed in this browser tab and never sent to our servers. Privacy policy