Interview Prep/Kubernetes/Services, Networking, Ingress & Gateway API

How does the AWS VPC CNI allocate Pod IPs and what limits Pod density?

AdvancedConceptServices, Networking, Ingress & Gateway API
Answer

The aws-node DaemonSet attaches ENIs and assigns secondary private IPs to Pods from the node's subnet. Max Pods = ENIs x (IPs per ENI - 1) + 2, so small instance types hit IP limits quickly. Prefix delegation (ENABLE_PREFIX_DELEGATION=true) assigns /28 prefixes per ENI slot, and custom networking or IPv6 clusters relieve subnet exhaustion.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Services, Networking, Ingress & Gateway API