- Newest
- Most votes
- Most comments
If each pod has an IP from your VPC you are using the VPC-CNI networking mode. The EKS Best Practices guide has a lot of information about the different networking modes and diagrams for how the VPC-CNI works.
Hello Steven,
When you create an EKS cluster, VPC CNI plugin is installed into your cluster and it provides networking for pods.
The VPC CNI allocates ENIs (Elastic Network Interfaces) to each worker node and uses the secondary IP range from each ENI for pod IP addresses.
The VPC CNI runs an IPAMD (IP Address Management Daemon) on every node which is responsible for maintaining a warm pool of IP addresses, and assigning IP addresses to the pods.
However, if you run a pod with hostNetwork: true
, the pod will get the IP address of the host that it is running on.
Please go through this EKS Best Practices document for more information related to EKS networking.
Please leave a comment if you have any further questions. Thank you!
Relevant content
- asked 2 years ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago