k8wiz
Cilium
Hard
Architecture

You install Cilium with kubeProxyReplacement=true on a cluster without kube-proxy. Why do you have to set k8sServiceHost and k8sServicePort?

Select your answer:

Show answer and explanation

Answer: Without kube-proxy, the agent can't reach the API server via its ClusterIP

Explanation

Pods normally reach the API server through the kubernetes Service ClusterIP, which kube-proxy translates. Without kube-proxy, Cilium does that translation itself, but the agent has to talk to the API server before its datapath is ready. Pointing it at the real API server address or load balancer solves this bootstrap problem.