Menu

1 / 3

Why your EKS node shows 110 Pods when the formula says 234

DEV Community: kubernetes·Thanh Huy·about 17 hours ago
#UGX37Nu5
#devtokubernetes#devto#dev#pods#node
Long article (501 words) — no AI summary yet.
Reading 0:00
15s threshold

You add an m5.4xlarge to a managed node group, run kubectl describe node , and see pods: 110 . The AWS documentation for the VPC CNI says the same instance supports 234. Both numbers are right; they come from two different rules.

Rule 1: Pods need IP addresses

With the Amazon VPC CNI, every Pod gets a real VPC address from one of the node's network interfaces (ENIs). The limit per node is therefore set by the instance's networking, not its CPU or memory:

max Pods = ENIs × (IPs per ENI − 1) + 2

Enter fullscreen mode

Exit fullscreen mode

Each ENI keeps one address for itself, hence the − 1 . The + 2 is for the Pods that use the node's own address (the VPC CNI and kube-proxy run with host networking).

Instance ENIs × IPs Formula

m5.large 3 × 10 29

m5.xlarge 4 × 15 58

m5.4xlarge 8 × 30 234

m5.16xlarge 15 × 50 737

Two consequences people trip over:

More CPU does not mean more Pods.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.