Kubernetes

Kubernetes v1.40: kube-proxy IPVS backend removal scheduled — migrate to nftables

Kubernetes SIG Network will remove kube-proxy's IPVS backend in v1.40. Ensure Linux nodes (>=5.13) switch to nftables or iptables to prevent service breakage.

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

Kubernetes just put a hard deadline on a backend that’s quietly been causing maintenance headaches for years: the kube-proxy IPVS mode, deprecated in v1.35, is slated for removal in v1.40.

That’s the actionable bit: if your clusters still run kube-proxy in ipvs mode, you have a firm migration window. The SIG Network rationale is straightforward — IPVS is complex, lacks full feature parity with the other proxy implementations, and diverged enough to require different maintenance practices — so the project is consolidating around nftables (and keeping iptables as an alternate path).

Why this matters now

nftables support in kube-proxy has matured across recent releases; for nodes whose kernels expose the required nf_tables features, kube-proxy nftables is the recommended target. Confirm your distro/kernel provides the nf_tables module and the conntrack behavior your CNI and workloads require before switching.

IPVS isn’t being removed because it’s broken — it works and, in some cases, performs well — but because it’s a second implementation surface that didn’t keep pace with the rest of the project. Maintaining multiple divergent proxy implementations (userspace, iptables/nftables, and IPVS) costs SIG cycles and leads to inconsistent behavior across clusters. Removing IPVS simplifies testing, QA, and long-term maintenance.

What platform teams need to do

  • If your nodes' kernels expose the required nf_tables features: switch kube-proxy to nftables. You can set the proxy mode on the kube-proxy DaemonSet by passing --proxy-mode=nftables. Example DaemonSet container fragment:
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: kube-proxy
spec:
  template:
    spec:
      containers:
      - name: kube-proxy
        image: k8s.gcr.io/kube-proxy:<kube-proxy-version>
        command:
        - /usr/local/bin/kube-proxy
        args:
        - --proxy-mode=nftables
  • If you can’t get kernels with the necessary nf_tables support on all nodes (older distros, constrained hosts), use iptables mode — it remains supported and is a pragmatic fallback.

  • Test control-plane upgrades in staging with the new mode: service behavior, session affinity, and any iptables/ipvs-dependent tooling or metrics can change subtly.

The migration isn’t just flipping a flag. Validate CNI compatibility (some CNIs assume iptables), confirm kernel module availability (nf_tables), and adjust observability/alerting that surfaces ipvs-specific counters or metrics. Also update any scripts or runbooks that parse ipvsadm output or /proc/net/ip_vs; those formats differ from nftables/iptables output.

This is the right call — but it will sting

Removing IPVS is the correct long-term move. Operating multiple, divergent proxy implementations was an open invitation to edge-case bugs and version skew surprises. Consolidation forces teams to modernize kernels and CI, which is overdue.

That said, teams that treated IPVS as a permanent default — often because it gave reliable LB performance under load — will feel the pain. Expect a short-term spike in upgrade friction and a few clusters with flaky services if migration is done hurriedly.

What I’d watch next

  • Distros and managed Kubernetes providers will need to make nftables the bundle-tested path. If your provider’s node images still target older kernels, you’ll be paced by their rollout.

  • Tooling that assumed ipvs output (debugging scripts, custom dashboards) will rot silently. If you have runbooks that grep ipvsadm or parse /proc/net/ip_vs, update them now.

If you want a concise migration checklist: ensure your kernels provide nf_tables, switch kube-proxy to nftables or iptables, validate CNI and e2e service behavior in staging, and update any tooling that expects ipvs output. This is a maintenance win for Kubernetes, but it’s also a hard fork: clusters that ignore it will stop working when they cross v1.40.

For more background on the timeline and the deprecation path, see our earlier coverage of the IPVS deprecation and the v1.40 scheduling: Kubernetes v1.40: kube-proxy IPVS backend removal scheduled.

Final thought: this isn’t about preference for nftables over IPVS — it’s about reducing implementation surface and operational surprise. Platforms that treat this as a checkbox will survive the upgrade; platforms that treat it as optional will run into real outages. The clock is ticking.

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