Scheduling the removal of the kube-proxy IPVS backend
Kubernetes SIG Network deprecated kube-proxy's ipvs backend in 1.35 and plans to remove it in 1.40, because the kernel IPVS API maps poorly to Kubernetes Service semantics. The backend never achieved full feature parity, lacks batch updates so large changes can be slower than iptables, still depends on iptables/ipset (which RHEL is dropping), and its IPVS schedulers like Maglev hashing give little benefit because per-node kube-proxies share no state. Users should switch to nftables (Kubernetes 1.36+, kernel 5.13+), which is feature-complete and slightly faster than ipvs, by changing the kube-proxy mode and restarting. If they can't, the much-optimized iptables backend is an option, with a node reboot recommended after switching.
Related posts
- Kubernetes v1.37 Sneak Peek
Kubernetes Blog mediumAdeptKubernetes v1.37 deprecates kube-proxy's ipvs mode, which still relies on iptables underneath. ipvs is slated to be off by default by v1.40 and removed by v1.43. The release also deprecates `kubectl run -f`, strictly forbids static Pods from referencing Secrets or ConfigMaps, and keeps cgroup v1 behind a temporary `failCgroupV1: false` override ahead of its removal. SELinuxMount going GA is a breaking change: pods with different SELinux labels sharing a volume on one node may fail to start unless `seLinuxChangePolicy: Recursive` is set. Featured enhancements are the metrics.k8s.io API reaching GA, rootless kubelet in a user namespace moving to Beta, and a reworked alpha Volume Health Monitor with four new CSI RPCs that surface health in PVC, Pod and CSINode status.
- Kubernetes v1.38 Sneak Peek
Kubernetes Blog hardMasterKubernetes v1.38, planned for December 16, 2026, will require container runtimes to report the cgroup driver via the CRI RuntimeConfig RPC. The kubelet will reject the cgroupDriver config field unless the temporary LegacyCgroupDriverFallback gate is enabled, and kubeadm preflight will fail on runtimes that lack the RPC. On cgroup v2 nodes using LimitedSwap, swap limits will follow pod-level memory settings, so Pods whose pod-level request equals their limit get no swap. The kubectl WebSocket opt-out environment variables and the kuberc allowlist `name` field are removed. kuberc, pod-level resources and DRA partitionable devices are expected to go stable, and an alpha EvictionRequest API lets responders prepare Pods before eviction while still respecting PDBs.
- The Shift to cgroup v2 in Kubernetes: What You Need to Know
Kubernetes Blog mediumAdeptKubernetes has deprecated cgroup v1: from v1.35 the kubelet refuses to start on cgroup v1 nodes by default (`failCgroupV1: true`), kubeadm preflight errors on it, and the fallback is slated for removal in v1.38. cgroup v2 enables Memory QoS with `memory.high` throttling and tiered `memory.min`/`memory.low` reservations, container-wide OOM kills via `memory.oom.group`, safe rootless delegation, eBPF-based device control, PSI metrics, and accurate Pod-level in-place resizing. Migration requires kernel 5.8+ (5.9+ for Memory QoS), a cgroup v2-capable runtime, and matching cgroup drivers, ideally systemd with CRI auto-detection. A step-by-step procedure traces Pod resource limits from the API through CRI, OCI spec, and systemd scope down to the actual cgroup files.
- Kubernetes v1.36: Mixed Version Proxy Graduates to Beta
Kubernetes Blog hardMasterKubernetes 1.36 promotes the Mixed Version Proxy (feature gate UnknownVersionInteroperabilityProxy) to beta and enables it by default. During HA control-plane upgrades, an API server that cannot serve a requested resource now proxies the request to a capable peer instead of returning an incorrect 404, which could otherwise trigger mistaken garbage collection or blocked namespace deletions. Since alpha, peer capability lookup has moved from the StorageVersion API to Aggregated Discovery so CRDs and aggregated APIs are covered. Peer-aggregated discovery now merges all peers' APIs into one discovery document, with profile=nopeer available for a local-only view. Operators must set --peer-ca-file, and optionally --peer-advertise-ip/port, or proxying fails on TLS verification.
- Kubernetes v1.36: Deprecation and removal of Service ExternalIPs
Kubernetes Blog mediumAdeptKubernetes 1.36 formally deprecates the Service `.spec.externalIPs` field because it assumes all cluster users are trusted and enables the traffic-hijacking exploits described in CVE-2020-8554. kube-proxy support is planned to become opt-in around v1.40 and to be removed entirely around v1.43. Three migration paths are covered with YAML examples. The simplest is a manually managed LoadBalancer Service whose IP is patched into `.status` and protected by RBAC, though it still has no checks against users taking each other's IPs. The others are a bare-metal load balancer controller like MetalLB with admin-defined IP pools, and Gateway API Gateways with admin-controlled addresses. Clusters that never set the field are unaffected, but enabling the DenyServiceExternalIPs admission controller is recommended as a precaution.