IPVS
IP Virtual Server: a load balancer built into the Linux kernel, which kube-proxy can use to send Service traffic to pods.
In more detail
kube-proxy can program Service rules with iptables, nftables or IPVS; the mode is set in its configuration. IPVS keeps Service rules in hash tables, which suited very large clusters, and current releases steer new clusters towards the nftables mode instead. The kube-proxy ConfigMap shows which mode a cluster uses.
Example
kubectl -n kube-system get cm kube-proxy -o yaml | grep mode:Related terms
- kube-proxy — The network component on each Kubernetes node that routes traffic sent to Services to the right pods.
- Kubernetes Service — The Kubernetes object that gives a changing set of pods one stable name and address, and spreads traffic across the ready ones.
Taught in
- A Name That Outlives Its Pods: Services And DNS — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Port 30080 On Every Node: kube-proxy, Networking And Clients — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Component Sprint: The Reference Build — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Worker Nodes: kubelet, Runtime, CNI And kube-proxy — Kubernetes: Production-Grade Container Orchestration