Kubernetes CNI Plugins & Pod Networking
How CNI plugins implement pod networking: IP assignment, overlay networks, BGP routing, and eBPF data planes.
Kubernetes CNI Plugins & Pod Networking
How CNI plugins implement pod networking: IP assignment, overlay networks, BGP routing, and eBPF data planes.
What you'll learn
- CNI = standard for pod IP assignment and routing
- Flannel: simple, no NetworkPolicy
- Cilium: eBPF-native, best performance, L7 network policies
CNI Plugin Landscape
CNI (Container Network Interface) is the K8s plugin standard for pod networking. When a pod starts, kubelet calls the CNI plugin to assign an IP and configure routes. Main plugins: Flannel (simple VXLAN overlay, no NetworkPolicy), Calico (BGP or overlay, full NetworkPolicy), Cilium (eBPF, L7 policies, service mesh features, replaces kube-proxy).
Key takeaways
- CNI = standard for pod IP assignment and routing
- Flannel: simple, no NetworkPolicy
- Cilium: eBPF-native, best performance, L7 network policies
Related concepts
Explore topics that connect to this one.
Ready to see how this works in the cloud?
Switch to Career Paths for structured paths (e.g. Developer, DevOps) and provider-specific lessons.
View role-based pathsSign in to track your progress and mark lessons complete.
Discussion
Questions? Discuss in the community or start a thread below.
Join DiscordIn-app Q&A
Sign in to start or join a thread.