Interview Prep/Kubernetes/Cluster Design & Multi-Tenancy

How do you plan IP address space for large clusters, especially on AWS?

AdvancedProductionCluster Design & Multi-Tenancy
Answer

Reserve large non-overlapping CIDRs early; Pod IPs on VPC CNI consume subnet addresses. We use /19 or /18 private subnets per AZ for nodes and Pods, or a secondary CIDR (100.64.0.0/10) with custom networking, or prefix delegation, or IPv6. Check the service CIDR and peering/Transit Gateway overlap. Running out of IPs is a painful, disruptive fix after launch.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Cluster Design & Multi-Tenancy