Interview Prep/Networking/Kubernetes & Service Networking in Production

What is Cilium and why do teams replace kube-proxy and iptables with it?

AdvancedProductionKubernetes & Service Networking in Production
Answer

Cilium is an eBPF CNI providing routing, identity-based network policy (L3 to L7), load balancing (replacing kube-proxy), Hubble flow observability, transparent encryption (WireGuard or IPsec), egress gateway and cluster mesh. eBPF maps scale in O(1), whereas iptables is linear and slow to update with thousands of services.

Costs: kernel version requirements, a different debugging toolset (cilium status, hubble observe), and operational learning curve.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes & Service Networking in Production