In this chapter, we have already mentioned the terms Container Network Interface (CNI) and CNI plugins in the context of Kubernetes networking setup. In fact, CNI is not limited to Kubernetes—this concept originated from the Rkt container runtime and was adopted as a CNCF project aiming to provide a simple and clear interface between any container runtime and network implementation. Container runtimes use CNI plugins in order to connect containers to the network and remove them from the network when needed.
Kubernetes CNI network plugins
Understanding the CNI project
There are three distinct parts of the CNI project:
- The CNI specification defines the architecture of a generic, plugin-based networking solution for containers...