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.
More on Kubernetes & Service Networking in Production
How do you expose an application on Kubernetes to the internet in production?BeginnerALB IP mode versus instance mode on EKS: which should you use?IntermediateHow do you achieve graceful pod shutdown with no dropped requests?AdvancedHow do readiness, liveness and startup probes interact with traffic?BeginnerHow do you design default-deny NetworkPolicies without breaking DNS?IntermediateHow do you debug "pod cannot reach service" in Kubernetes?Advanced