On 16 November 2026, the Kubernetes networking special interest group (SIG Network) announced on the project's blog that it is scheduling the removal of kube-proxy's IPVS backend. According to KEP-5495, from version 1.40 IPVS mode will be disabled by default: if kube-proxy is nevertheless set to use it, it will exit with an error unless the KubeProxyIPVS feature gate is switched back on. In 1.43 the code will be removed as well (the blog post, simplifying, names 1.40 as the removal version). Anyone running a cluster with IPVS today need not rush, but it is worth planning the migration now.
For a long time, IPVS was the faster choice for large clusters compared with iptables. According to the blog post, however, the kernel's IPVS interface does not support batched updates, so with many simultaneous changes it can be slower than iptables. Because of its narrow capabilities, IPVS mode also has to rely on iptables rules for Service features beyond load balancing, so some of the scaling problems of iptables show up here as well. On top of that, Red Hat plans to remove the iptables API from RHEL, so kube-proxy in IPVS mode will not work there either. The recommended target is nftables mode: it appeared in 1.29, has been generally available since 1.33, and according to the measurements in the post it performs on a par with IPVS, even slightly better.
- nftables mode generally available It appeared in 1.29.
- IPVS deprecated It works, but kube-proxy logs a warning.
- Recommended minimum for nftables The performance improvements made after 1.33 are only available from this version.
- The KubeProxyIPVS gate appears Its default value is still enabled.
- IPVS disabled by default With an IPVS setting, kube-proxy exits with an error; it can still be switched back on with the gate.
- The IPVS code is removed There is no way back.
Release 1.40 does not yet have a date. Assuming three releases a year and the release of 1.38 planned for 16 December (this is our own estimate), it can be expected in the second half of 2027.
Starting point: which mode is running, and on which kernel?
The official guidance recommends nftables mode if the cluster is at least on 1.36 (the performance improvements were not backported to older versions) and the nodes run at least kernel 5.13, which the mode requires. On an older kernel or Kubernetes version, the fallback is iptables mode, which according to the post has improved a great deal since 2017; in that case, the blog recommends restarting the nodes rather than restarting kube-proxy. This is how to assess the current state (on a cluster installed with kubeadm):
# Melyik módban fut most a kube-proxy?
kubectl get configmap -n kube-system kube-proxy -o yaml | grep "mode:"
kubectl logs -n kube-system daemonset/kube-proxy | grep -i ipvs
# Kubernetes- és kernelverzió csomópontonként
kubectl get nodes -o wide
If the value of mode is empty, kube-proxy is running in the default iptables mode.
With a managed Kubernetes service (EKS, AKS, GKE), check the provider's documentation to see which mode kube-proxy runs in and whether it can be changed.
What behaves differently in nftables mode
The documentation lists four differences, albeit relative to iptables mode. Since IPVS mode also uses iptables rules, these are the ones to go through when switching from IPVS as well (our own inference):
- By default, NodePort services are only reachable on the node's primary IP addresses (
--nodeport-addresses primary). The old behaviour can be restored with the--nodeport-addresses 0.0.0.0/0setting (on IPv4). - The iptables mode opens the firewall for NodePort traffic itself; the nftables mode does not. The NodePort range has to be allowed in your own firewall rules.
- On kernels older than 6.1, a bug in the kernel's connection tracking (conntrack) can cause long-lived TCP connections to Service addresses to be dropped. The iptables mode works around this, whereas nftables does not by default; if needed, the
--conntrack-tcp-be-liberalflag helps. - NodePort access via localhost only works in nftables mode from 1.37, as an alpha feature: the
KubeProxyNFTablesLocalhostNodePortsgate has to be enabled and the value of--nodeport-addressesset toprimary,localhost.
The migration steps
According to the official post, on a kubeadm cluster you need to replace the mode: ipvs line with mode: nftables in the kube-proxy ConfigMap and then restart the kube-proxy pods. If the ConfigMap also overrides IPVS-specific settings, those have to be replaced with the corresponding nftables settings. Tigera's migration guide describes this with the following commands:
# A config.conf blokkban: mode: "nftables"
kubectl edit configmap -n kube-system kube-proxy
kubectl rollout restart -n kube-system daemonset/kube-proxy
# Ellenőrzés: nftables-módban indult-e
kubectl logs -n kube-system daemonset/kube-proxy | grep -i nftables
If the cluster's network plugin (CNI) is Calico, that is a separate step: according to the guide, alongside a kube-proxy in IPVS mode Calico itself switches to IPVS mode, so its data plane has to be switched over too. For Calico installed with the Tigera Operator, according to the guide:
kubectl patch installation default --type=merge \
-p '{"spec":{"calicoNetwork":{"linuxDataplane":"Nftables"}}}'
The documentation warns in general terms that kernel-level rules created by kube-proxy in some cases only disappear when the node is rebooted. When switching to nftables, the blog considers restarting kube-proxy sufficient. In our view, the cleanest approach is nevertheless to carry out the switch by draining and rebooting node by node, first on a test cluster; with several clusters, it is worth organising this into a uniform platform engineering process.
Verification after the switch
Beyond the log entry, real traffic has to be tested: a ClusterIP and a NodePort service from outside and inside the cluster, as well as long-lived connections (database connection pool, WebSocket). After a few days under load, check whether “Connection reset by peer” errors appear in the clients' logs. This monitoring is part of SRE practice. If something only worked in the old mode, it comes to light now, not on the night of the 1.40 upgrade.
The first step is simple: the assessment commands above on every cluster, and a table showing where IPVS runs, with which kernel and which CNI. If nobody on the team knows the internals of kube-proxy and the CNI, a Kubernetes specialist can also be brought in for the duration of the migration.
Sources
- Kubernetes Blog: Scheduling the removal of the kube-proxy IPVS backend (16 November 2026)
- KEP-5495: Deprecate IPVS mode in kube-proxy
- Kubernetes documentation: Virtual IPs and Service Proxies
- Tigera: From IPVS to nftables – a migration guide for Kubernetes v1.35
- Kubernetes dev list: the v1.38 release schedule
A migration plan for kube-proxy, cluster by cluster
We assess where IPVS is running, with which kernel and CNI, and put together the sequence from the test cluster to production.