kube-proxy IPVS Is Being Removed in 1.40: Move to nftables
If your clusters still run kube-proxy in IPVS mode, the clock is now officially ticking. On November 16, 2026, Dan Winship (Red Hat) published a post on the Kubernetes blog on behalf of SIG Network: the ipvs backend, deprecated since Kubernetes 1.35, is scheduled for removal in Kubernetes 1.40. It still works today and only logs a deprecation warning. But the guidance is explicit: every IPVS user should be planning a migration to the nftables or iptables backend.
This matters more than it sounds. For years, "switch kube-proxy to IPVS" was standard advice in production-hardening checklists, Terraform modules and in-house Helm charts. Plenty of clusters picked it up on day one and nobody has looked at that setting since, including clusters that now serve models and AI agents in production. Here is what is changing, why the project made this call, and how to migrate without breaking Service networking.
The background
A Kubernetes Service gives a stable virtual IP (the ClusterIP) to a set of pods whose addresses keep changing. kube-proxy, which runs on every node, turns that abstraction into Linux kernel networking rules: when a client connects to the Service IP, the kernel forwards the connection to one of the ready pods, the endpoints.
kube-proxy can program those rules through several backends, also called modes:
- iptables, the original mode, using classic packet-filtering rules;
- ipvs, built on the kernel's IPVS subsystem, a load balancer that ships inside Linux;
- nftables, introduced in Kubernetes 1.29 and GA since 1.33, designed from the start to eventually replace the other two.
You pick the backend with the mode field of the kube-proxy configuration. On kubeadm clusters, that lives in the kube-proxy ConfigMap in the kube-system namespace.
Why kube-proxy IPVS mode existed in the first place
The announcement includes a useful history lesson that explains today's trade-offs. The IPVS backend was written in 2017 to fix two performance problems in iptables mode.
Data plane latency
In iptables mode, kube-proxy wrote a separate rule for each Service IP. Every new connection had to be matched against a long chain of rules, with a cost that was linear (O(n)) in the number of Services. IPVS fixed that almost for free, because the kernel subsystem uses hash tables instead of a linear scan.
Control plane latency
The bigger problem was elsewhere. Any change to a Service or endpoint made kube-proxy rewrite the entire iptables ruleset. According to the post, in very large clusters kube-proxy could burn 100% of one CPU all the time just processing those updates. It was so bad that most users could not even grow a cluster to the size where the data plane issue became noticeable. IPVS avoided full rewrites, which solved this second bottleneck too.
Why IPVS is now on the way out
IPVS hit its performance goal, but it piled up debt along the way. SIG Network says the kernel IPVS API turned out to be a poor match for the Kubernetes Services API, and the backend never handled every Service edge case correctly.
The post gives several concrete reasons:
- Compatibility was never complete. The first version was not fully equivalent to iptables mode. The original authors moved on to other things, and finding new maintainers took time.
- It developed its own scaling problems. The IPVS API has no batch update operations. The backend was faster than iptables for a few small changes, but potentially slower when many changes landed at once.
- It quietly depended on iptables anyway. Because the IPVS API is limited, kube-proxy had to fall back to iptables (and ipset) for anything beyond basic load balancing, inheriting some of the very limits it was meant to escape.
- Long-term platform support. Red Hat plans to remove the iptables API entirely from Red Hat Enterprise Linux. Since the IPVS backend relies on it, it will no longer be available to Kubernetes users on RHEL.
What about IPVS schedulers? Some teams chose IPVS for its schedulers, algorithms that spread traffic in smarter ways than random selection. The post is blunt: kube-proxy instances on different nodes do not share scheduler state, so each node picks endpoints without knowing what the others are doing. Even schedulers designed for distributed use, such as mh (Maglev Hashing), generally do no better than random selection in kube-proxy's architecture. If you were counting on an IPVS scheduler to balance inference replicas, that benefit was probably never really there.
How to migrate off kube-proxy IPVS
KEP-5495 has the full deprecation timeline and plan. In practice you have two paths.
Recommended path: nftables
If you run Kubernetes 1.36 or later on nodes with a Linux kernel of 5.13 or later, Kubernetes recommends switching to nftables mode. The backend has been GA since 1.33, but some performance and scaling fixes were not backported to releases before 1.36, hence the threshold.
According to SIG Network, nftables is fully supported, feature-complete, and even very slightly faster than IPVS on connection-establishment latency. The authors are careful here: the point is not that nftables is noticeably faster, but that, unlike iptables, it is not slower.
Switching means changing the configuration and restarting kube-proxy. On kubeadm, edit the kube-proxy ConfigMap:
# before
mode: ipvs
# after
mode: nftables
Then restart the kube-proxy pods as described in the kubeadm reconfiguration guide. One catch: if you override IPVS-specific options, you need to translate them to their nftables equivalents.
Fallback path: iptables
If you are stuck on an older Kubernetes release or a distribution too old for nftables, iptables mode is a far more reasonable option than its reputation suggests. Since 2017 it has been heavily optimized: leaner rulesets, fewer allocations, a sync loop that assumes the current state is correct instead of re-reading the whole ruleset, and partial updates that only touch changed Services and endpoints (KEP-3453). It is still not as good as IPVS, but it is much better than the iptables of 2017. One important difference: for this switch, SIG Network recommends rebooting each node after changing the configuration, not just restarting kube-proxy.
What this means for AI and platform teams
kube-proxy rarely makes it onto an MLOps team's agenda, and that is exactly the risk. It is an invisible networking component, configured once at cluster creation and then forgotten. Here is how we would approach moving off kube-proxy IPVS.
1. Inventory now, not at upgrade time. Check the mode actually in use on every cluster, including GPU training clusters, staging, and the "temporary" clusters that quietly became permanent. On kubeadm, kubectl -n kube-system get configmap kube-proxy -o yaml is enough. Then grep your Terraform modules, kubeadm configs and Helm values for ipvs, because that is where the setting will sneak back into the next cluster you create.
2. Ride your existing upgrade train. The recommended baseline (1.36 and kernel 5.13) lines up the nftables switch with your normal Kubernetes upgrade plan. Fold it into an upgrade you already have scheduled instead of running a standalone networking project.
3. Test with the workloads that matter. AI platforms are Service-heavy: inference gateways, model servers, vector databases, agent workers scaling up and down with autoscaling. That is precisely the profile where kube-proxy's control plane works hardest. Measure inference endpoint latency and endpoint propagation time before and after the switch, on a representative environment.
4. Drop the scheduler myth. If request distribution across model replicas relied on an IPVS scheduler, the announcement confirms it was likely no better than random. Smarter routing for inference traffic belongs in the application or gateway layer, not in kube-proxy.
5. Roll out like any risky change. Treat the switch as a production change, not a config tweak. Start with a non-critical cluster, keep the previous ConfigMap at hand so you can roll back quickly, and watch Service-level signals during the window: connection errors, DNS resolution failures, and p95/p99 latency on your inference endpoints. Because kube-proxy runs on every node, a staged restart gives you a natural canary: if the first nodes behave, continue; if not, revert before the whole fleet is affected. Write down what you did, because you will need the same runbook for every cluster in the inventory from step 1.
6. Watch your RHEL nodes. With the iptables API slated for removal from RHEL, clusters on that distribution have one more reason to target nftables rather than fall back to iptables.
kube-proxy IPVS is not disappearing tomorrow, but a networking migration is far easier to plan calmly than to rush the week an upgrade gets blocked.
Key takeaways
- kube-proxy IPVS, deprecated since Kubernetes 1.35, is scheduled for removal in 1.40.
- Why: Service edge cases never fully handled, no batch updates, a hidden iptables dependency, and iptables leaving RHEL.
- Recommended target: nftables, on Kubernetes 1.36+ and kernel 5.13+, with performance at least on par.
- Fallback: iptables, heavily optimized since 2017, with a node reboot after switching.
- Do it now: inventory the active mode on every cluster, AI and GPU clusters included.
Industrialising AI agents? SeedVision offers 3-5 day AI audits and 15-30 day production rollouts. See the packages or book a 30-min call.