IP Prefix in EKS CNI plugin
Soumyadip Chatterjee
??? DevOps Engineer |Istio ?? | Terraform ???, |Docker ?? | K8's??| Snowflake ?? | Argo CD?? | Helm ?? | GitLab ?? | Ansible ?? | Certifications:- 2x AWS ??, 1x Azure???, 1x OCI??, 1x Commvault
In the last article we touch upon the IP prefix by an simple example with an apartment having multiple floors and rooms . In this article we will deep dive more in IP Prefixes by some of its unique features and explain with simple example again .
In this blog we will cover the below topics
a> What is IP Prefixes in EKS CNI ?
b> Why IP Prefixes in EKS CNI ?
c> How IP Prefixes assist when we horizontally scales pods in EKS cluster ?
d> Where IP prefixes got those IP ranges ?
d> What is ENI ?
e> ENI vs CNI
f> What is L-IPAM?
IP prefixes got those IP ranges from VPC CIDR range . when we create an EKS cluster ,the CNI plugin automatically allocates a pool of IP ranges prefixes from VPC CIDR to primary ENI of the node (EC2). Post that this prefixes assist to assign existing pods and scale IP address with HPA (Horizontal Pod Autoscaling )feature .
领英推荐
The ENI created when we spin up EKS cluster with the Node group (EC2) associate with this . The ENI act as network interface card associate with rules to allow security group and act as a firewall .
L-IPAM stands for Local IP address management which a critical component within the CNI plugin in EKS . This ensures a warm pool of Secondary IP address to each node in your cluster .
In conclusion managing EKS cluster is a complex & tedious task for Devops Engineer & AWS Cloud Engineers but strengthening fundamentals will definitely assist you to a step further . Repost this if you found useful .