Interview Prep/AWS/Containers and Serverless

How does the Amazon VPC CNI assign pod IPs?

AdvancedConceptContainers and Serverless
Answer

The VPC CNI gives each pod a real VPC IP from secondary addresses on the node's ENIs, so pods are directly routable and use security groups for pods if enabled. Max pods per node follows ENIs × (IPs per ENI − 1) + 2. IP exhaustion is the common failure.

Options: prefix delegation (a /28 per slot, many more pods), custom networking with a secondary CIDR, tuning WARM_IP_TARGET/WARM_ENI_TARGET, or IPv6 clusters.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on Containers and Serverless