Interview Prep/Networking/Kubernetes Networking

Cilium replaces kube-proxy in your cluster. What changes and what do you gain?

AdvancedScenarioKubernetes Networking
Answer

Situation read → eBPF handles service load balancing in the kernel datapath.

What I'd do →

  1. Install with kubeProxyReplacement=true and verify with cilium status
  2. Services are translated at socket level or at the TC hook, avoiding iptables and conntrack for service traffic
  3. Gain: lower latency, better scalability, native Hubble flow visibility and L7 policy
  4. Risks: kernel version requirements and fewer people who know it
  5. Validate with cilium connectivity test

Why → eBPF maps replace linear rule chains, which scales better and exposes flow-level visibility.

Interview tip → Say you check kernel version and cloud support before adopting.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking