What is the difference between "kube-proxy" running in "iptables" mode versus "IPVS" mode for implementing Services?
Correct! Well done.
Incorrect.
The correct answer is B) iptables mode implements Service load balancing using a chain of rules, which can bottleneck with very large Service counts due to linear evaluation, while IPVS mode uses a kernel hash table, offering better performance and more algorithms at scale
Correct Answer
iptables mode implements Service load balancing using a chain of rules, which can bottleneck with very large Service counts due to linear evaluation, while IPVS mode uses a kernel hash table, offering better performance and more algorithms at scale
IPVS uses an efficient hash table for service lookups (O(1) versus iptables' roughly linear chain traversal), making it more scalable for clusters with a very large number of Services, and supports additional load-balancing algorithms like least connection or weighted round robin.