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 →
- Install with
kubeProxyReplacement=trueand verify withcilium status - Services are translated at socket level or at the TC hook, avoiding iptables and conntrack for service traffic
- Gain: lower latency, better scalability, native Hubble flow visibility and L7 policy
- Risks: kernel version requirements and fewer people who know it
- 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.
More on Kubernetes Networking
Explain the Kubernetes networking model in one minute.BeginnerClusterIP, NodePort and LoadBalancer: when do you use each?BeginnerHow does a pod find another service by name?BeginnerService versus Ingress: what is the difference?BeginnerWhat does a CNI plugin do and which ones do you know?BeginnerHow do you reach a pod from your laptop for debugging without exposing it?Beginner