QuestionQ21Verified/eBPFCopy linkReport a problemAsk AstroTutorSave questionWhy does the iptables implementation of kube-proxy scale less well than eBPF?AeBPF makes use of the kernel, while iptables does not.BIptables's complexity is linear while eBPF Is constant-time.CIptables is incompatible with IPv6 services in Kubernetes.DIptables is incompatible with eXpressDataPath for smartNICs.Show AnswerAnswerExplanationIn 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 moreNFTables mode for kube-proxyCilium introduction: Service load-balancingShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion