How Kubernetes is configured to use the network plugins?
Container Network Interface defines the responsibilities of container runtime. Container Runtime is responsible for creating container network namespaces, identifying and attaching those namespaces to the right network by calling the right network plugin. So, where do we specify the CNI plugins for Kubernetes to use? The CNI plugin must be invoked by the component within Kubernetes that is responsible for creating containers because the component must then invoke the appropriate network plugin after the container is created. The CNI plugin is configured in the Kubelet service on each node in the cluster.