Kubernetes SIG Network has scheduled the kube-proxy IPVS backend for removal in v1.40 — not an optional housekeeping task, but an explicit API/implementation removal that will break clusters still configured for IPVS.
IPVS was previously deprecated. The announcement cites three practical reasons: maintenance complexity inside kube-proxy, incomplete feature parity with the other backends, and architectural divergence that makes it expensive to evolve kube-proxy consistently. The practical takeaway is simple: migrate now. The recommended targets are nftables or iptables, with nftables preferred on modern Linux kernels and distributions that default to nftables.
This is the right call. IPVS has historically been the tool of choice for very large clusters that needed kernel-level connection handling and high throughput, but over the years it accumulated special-case logic and a maintenance burden the SIG can't justify keeping. Leaving IPVS around as a second-class, diverging backend would have kept the project juggling two different networking models and slowed progress on features that benefit everyone.
If your cluster uses IPVS, here's what actually changes for you
- If kube-proxy is still configured with IPVS (common flag or config key:
mode: ipvs/--proxy-mode=ipvs), those settings will stop working when you upgrade to the release that removes the backend. - Kubernetes isn't removing the concept of Services — it's removing one implementation. You must switch kube-proxy to
nftablesoriptablesand ensure the node kernels and tooling support the chosen backend. - Nftables is the recommended long-term path on modern Linux distributions because it provides a cleaner netfilter API and simpler rule management.
How to check and migrate (practical steps)
-
Confirm whether you're running IPVS:
kubectl -n kube-system get configmap kube-proxy -o yaml | grep -i mode
or inspect the kube-proxy DaemonSet args:
kubectl -n kube-system get daemonset kube-proxy -o yaml | yq '.spec.template.spec.containers[0].args'
-
Decide the target:
- If your nodes run a modern Linux distribution that defaults to nftables, pick
nftablesfor better long-term compatibility and reduced operational pain. - Otherwise fall back to
iptables.
- If your nodes run a modern Linux distribution that defaults to nftables, pick
-
Update kube-proxy configuration (ConfigMap or DaemonSet arg) to
mode: nftablesormode: iptablesand restart the DaemonSet pods:kubectl -n kube-system apply -f
.yaml kubectl -n kube-system rollout restart daemonset kube-proxy -
Validate on a node:
- For nftables:
sudo nft list rulesetand confirm kube-proxy chains are present. - For iptables:
sudo iptables-saveand search for kube-proxy rules.
- For nftables:
-
Monitor service connectivity, session affinity, and any e2e tests you have for Ingress/Service traffic. Rolling kube-proxy on all nodes should be sufficient; you don't need to drain every workload unless your environment has strict connection-state requirements.
Why this will sting for some teams
If you chose IPVS for scale and long-lived connection handling, you picked it for concrete operational reasons. Migrating means re-validating latency-sensitive services, re-tuning conntrack and timeouts, and verifying that sticky sessions behave identically. That's real work. But keeping a forked implementation inside kube-proxy is worse: it stalls shared improvements and creates a divergence that bites everyone when it's time to land performance or security fixes.
If you want background on the deprecation timeline and earlier guidance, see our previous note on the v1.35 deprecation: Kubernetes 1.35: kube-proxy IPVS deprecation timeline and migration to nftables.
Final thought: don't treat this as a marginal upgrade. v1.40 removal is a firm deadline. Teams that delay until the last minute will be forced into frantic rollouts and emergency fixes. Start testing now against nftables (or iptables if you can't upgrade kernels). The ecosystem moving away from IPVS is overdue — embrace nftables and get the benefits of a unifying path forward rather than clinging to the convenience of "it works today."