Kubernetes

Kubernetes: kube-proxy IPVS mode slated for removal — migrate to nftables or iptables

Kubernetes SIG Network will remove kube-proxy IPVS mode in a future release. Migrate to nftables or iptables and validate on modern Linux kernels. Promptly.

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

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 nftables or iptables and 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)

  1. 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'

  2. Decide the target:

    • If your nodes run a modern Linux distribution that defaults to nftables, pick nftables for better long-term compatibility and reduced operational pain.
    • Otherwise fall back to iptables.
  3. Update kube-proxy configuration (ConfigMap or DaemonSet arg) to mode: nftables or mode: iptables and restart the DaemonSet pods:

    kubectl -n kube-system apply -f .yaml kubectl -n kube-system rollout restart daemonset kube-proxy

  4. Validate on a node:

    • For nftables: sudo nft list ruleset and confirm kube-proxy chains are present.
    • For iptables: sudo iptables-save and search for kube-proxy rules.
  5. 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."

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