Interview Prep/Networking/Kubernetes, Containers, MTU & Performance Basics

What is a CNI plugin and how do the main ones differ?

IntermediateConceptKubernetes, Containers, MTU & Performance Basics
Answer

The Container Network Interface is the plugin API that sets up pod networking when a pod starts. Flannel: simple overlay (VXLAN). Calico: L3 routing with BGP or VXLAN plus network policy. Cilium: eBPF dataplane with policy, observability and kube-proxy replacement. AWS VPC CNI: gives pods real VPC IPs from ENIs.

Choose by need: policy and observability (Cilium, Calico), VPC-native addressing (AWS VPC CNI), simplicity (Flannel).

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes, Containers, MTU & Performance Basics