What do you do when a VPC runs out of IP addresses?
IntermediateConceptVPC and Networking
Answer
Add a secondary CIDR block to the VPC (up to five by default) and create new subnets from it. For EKS pod-IP exhaustion use the 100.64.0.0/10 carrier-grade range for pods via custom networking, or enable prefix delegation, or move to IPv6.
Long term, fix the root cause with a central IPAM plan (AWS VPC IPAM) and right-sized subnets, since you cannot resize an existing subnet.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateInternet Gateway vs NAT Gateway: what does each do?BeginnerNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.Beginner