Kubernetes Schedules Removal of the kube-proxy IPVS Backend

The Kubernetes project said in an official blog post on November 16 that the kube-proxy IPVS backend, already deprecated as of Kubernetes 1.35, is now scheduled for removal in Kubernetes 1.40, and that users should plan to migrate to the nftables or iptables backends.

Author: Ali MahmoodiViews: 49
Kubernetes Schedules Removal of the kube-proxy IPVS Backend

The Kubernetes project said in an official blog post on November 16 that the kube-proxy IPVS backend, already deprecated as of Kubernetes 1.35, is now scheduled for removal in Kubernetes 1.40, and that users should plan to migrate to the nftables or iptables backends.

Dan Winship of Red Hat wrote that IPVS was originally built to outperform the iptables backend, but that the kernel IPVS API has proved a poor match for the Kubernetes Services API, and the backend was never able to implement every Services edge case correctly. The nftables backend arrived in Kubernetes 1.29, became generally available in 1.33, and is intended eventually to replace both iptables and IPVS.

Kubernetes recommends that clusters on version 1.36 or later, with Linux nodes running kernel 5.13 or later, switch to nftables mode. The change is typically a kube-proxy configuration update and a restart of the kube-proxy pods. If nftables is not an option, the project says the iptables backend has improved substantially since 2017; in that case it recommends rebooting each node after the configuration change.

Source: Kubernetes Blog

Related News

Comments

Loading comments...