Interview Prep/Networking/Kubernetes Networking

What does a CNI plugin do and which ones do you know?

BeginnerScenarioKubernetes Networking
Answer

Situation read → CNI configures pod networking when a pod starts.

What I'd do →

  1. Kubelet calls the CNI binary to create the pod's network namespace interface, assign an IP and set routes
  2. Popular choices: AWS VPC CNI (pod gets a VPC IP), Calico (BGP or VXLAN, network policy), Cilium (eBPF, observability, policy), Flannel (simple overlay)
  3. Check the config in /etc/cni/net.d/
  4. List the plugin pods with kubectl -n kube-system get pods

Why → Without a working CNI, nodes stay NotReady and pods remain ContainerCreating.

Interview tip → Say the choice affects policy support, scale and cloud integration.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking