Configuring the Amazon CNI plugin
In Kubernetes, the Container Network Interface (CNI) provides a specification and framework for writing container network plugins to manage container networking, including pod communication and IP Address Management (IPAM). In the context of this book, we will not go into the details of the CNI plugins and how they work. What does concern us is how to make the best use of the CNI plugin, and how to configure it properly.
There are multiple CNI plugins that have been battle-tested over the years. Some of these satisfy the needs of general use cases, such as Calico, which is a highly recommended CNI plugin, while there are other CNI plugins that lean toward solving specific use cases.
The list of production tested CNI plugins includes Calico, Cilium, Azure CNI, Contiv, Flannel, Weave Net, and AWS CNI. The list goes on. You can get a comprehensive list of the supported CNI plugins and their features from the Kubernetes official documentation at...