Common networking issues
Networking is generally a complex issue, and although K8s defines a standard model, each CNI introduces different issues. We will look at how to solve some of the more common issues associated with the VPC CNI next.
Issue |
Solution |
My worker nodes cannot join the cluster. |
Check that the worker nodes subnets have IP access to the internet (through an IGW or NATGW) as well as access to the EKS API ENIs. Check the route tables and associated security groups to make sure. |
My Pods cannot be assigned an IP address from the VPC. |
Check that the VPC has enough IP addresses free, if not assign a secondary CIDR range. Enable prefix addressing once you have IP addresses or make the EC2 instance size bigger (more ENIs). |
Pods are unable to resolve K8S DNS... |