Amazon VPC CNI for Windows
Amazon EKS supports a native network plugin called Amazon VPC Container Network Interface (CNI) that has two main responsibilities:
- Creating Elastic Network Interfaces (ENIs) and attaching them to the Amazon EC2 nodes or using a combination of prefix-delegation per ENI
- Assigning a private IPv4 or IPv6 address from your VPC to each pod and service
By default, the number of IP addresses available to be assigned to pods is a calculation based on the number of IP addresses available on each ENI and the number of ENIs that can be attached to the Amazon EC2 instance. The following formula applies:
(Number of ENIs * IP addresses per interface) - 3 = Total IPv4 addresses available for pods
The minus three is a result of the following:
- One IP reserved for the Amazon EC2 node primary IP
- One IP reserved for the VPC CNI
- One IP reserved for
kube-proxy
For instance, we can calculate that a Linux-based node running on an m5...