Kubernetes

Kubernetes v1.40: kube-proxy IPVS backend removal scheduled

SIG Network scheduled removal of kube-proxy's IPVS backend in Kubernetes v1.40; platforms must migrate to nftables (preferred) or iptables before the release.

November 21, 2026·3 min read·AI researched · AI written · AI reviewed

If your clusters still run kube-proxy in IPVS mode, you have a hard deadline: the IPVS backend is deprecated as of v1.35 and is scheduled for removal in v1.40. That is not a gentle suggestion — it’s a one-release-permanent change that will break any kube-proxy configured for "ipvs" unless you migrate first.

Why SIG Network pulled the plug

SIG Network's rationale is blunt and correct: IPVS is expensive for the project to maintain. It diverged architecturally from the other backends, covers fewer of kube-proxy's feature expectations, and added disproportionate complexity for little net value to most users. In short, the maintenance burden outweighed the benefit. The project recommends nftables or iptables as replacement backends, and prefers nftables on systems with up-to-date kernel and distro tooling that fully support the nftables userspace stack.

This is the right call. Keeping multiple, hard-to-test network datapaths around because a minority of deployments relied on them insulates technical debt. It also lets SIGs focus on a smaller surface for performance fixes, eBPF integrations, and future service-proxy rework. But it also forces teams to confront real operational work.

Migration choices: nftables vs iptables

  • nftables: the recommended path on systems where the kernel, libnftables and distribution tooling fully support nftables. It offers cleaner rule semantics and a more maintainable long-term surface compared with legacy iptables tooling. Verify your distro's nftables userland and ipset support before switching.

  • iptables: the pragmatic fallback for older kernels or distros where nftables tooling or ipset integration is incomplete. iptables remains supported but is the more legacy option and may have different performance and semantics.

Neither choice is a zero-cost flip. Expect differences in conntrack handling, rule semantics, ipset interactions, and subtle behavior under heavy churn (service updates, endpoint churn, node eviction). Provider-managed clusters may smooth some of this, but don't assume parity across distributions: your nodes' kernel version and distro nftables/tooling matter.

What you need to do this quarter

  1. Inventory: find nodes where kube-proxy runs with proxyMode "ipvs" (kube-proxy ConfigMap or the --proxy-mode flag). Prioritize clusters with many services or high connection churn.

  2. Kernel and tooling check: confirm your nodes' kernel and distribution provide the nftables userspace stack, ipset support, and current nft tooling if you plan to move to nftables. If your OS lacks reliable nftables support, plan an iptables migration instead.

  3. Staging test: switch a canary node or a dedicated staging cluster to nftables/iptables and run service-critical load tests. Watch connection reuse, session stickiness, rule counts, and conntrack table pressure.

  4. Rollout: change kube-proxy mode (ConfigMap or DaemonSet args) and roll kube-proxy across nodes. Monitor metrics and kube-proxy logs for rule-install failures and unexpected fallback behavior.

  5. Post-mortem: treat any production incidents or degraded behaviors tied to the switch as high-signal — kernel, ipset, and distro tooling bugs are likely to surface and should be documented for follow-up.

What will actually break teams

The teams most at risk are those on older OS releases (enterprise distros with older kernels), clusters using advanced IPVS-only behaviors or integrations, and bespoke network tooling that probes IPVS internals. Managed Kubernetes providers may provide a migration path, but don't count on automatic translation of cluster-level kube-proxy configuration between backends.

Final take

Kubernetes removing IPVS is overdue and the right trade-off for the project, but it’s a policy that shifts maintenance onto platform teams. Treat this as a scheduled deprecation you must own: inventory, upgrade kernels/tooling where feasible, and move to nftables if you can. If you’re still casually running IPVS in 2026, this should be the article that makes you schedule the migration — technical debt isn’t free, and this deadline will force it to be paid.

If you want the earlier timeline and migration guidance SIG Network published when IPVS was deprecated in v1.35, see the prior write-up on the deprecation and migration guidance Kubernetes 1.35: kube-proxy IPVS deprecation timeline and migration to nftables.

Watch how distributions and cloud providers react; their defaults will determine whether this is a smooth platform upgrade or the kind of messy fork that generates long-lived debugging tickets.

Sources

kuberneteskube-proxyipvsnftables
← All articles
Kubernetes

Kubernetes kube-proxy IPVS deprecation: plan migration to iptables or eBPF

SIG Network signaled a removal timeline for kube-proxy's IPVS mode; inventory clusters, test iptables or eBPF alternatives, and start migration planning now.

Nov 26, 2026·3mkuberneteskube-proxy-ipvs
Kubernetes

Kubernetes v1.38: kube-proxy IPVS removal trajectory and nftables migration

Kubernetes v1.38 sneak peek confirms IPVS deprecation with removal planned; teams running kube-proxy IPVS must test and migrate to nftables before the removal.

Nov 25, 2026·3mkuberneteskube-proxy
Kubernetes

Kubernetes requires runtimes to report cgroup driver; legacy kubelet config off by default

Kubernetes will require runtimes to report cgroup driver and disable the legacy kubelet config. Operators should validate runtimes and plan IPVS migration.

Nov 24, 2026·3mkuberneteskubelet