QuestionQ21

VerifiedeBPF

Why does the iptables implementation of kube-proxy scale less well than eBPF?

Explanation

In iptables mode, kube-proxy creates rules for Services and their endpoints, and matching can require traversing a growing sequence of rules. An eBPF-based service proxy can instead use hash maps for expected constant-time service lookup. This comparison concerns the lookup design, not a guarantee that every eBPF operation is constant-time. (kubernetes.io)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!