Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Kubernetes Blog 5 min read Announcement mediumAdept

Kubernetes v1.36: Deprecation and removal of Service ExternalIPs

Kubernetes 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.

Related posts

  • Kubernetes v1.37 Sneak Peek

    Kubernetes Blog mediumAdept

    Kubernetes 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.36: Mixed Version Proxy Graduates to Beta

    Kubernetes Blog hardMaster

    Kubernetes 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.

  • Reconciling the Past: Correcting Records for Unfixed Kubernetes CVEs

    Kubernetes Blog mediumAdept

    The Kubernetes Security Response Committee is correcting CVE records for three old, unfixed vulnerabilities, CVE-2020-8561, CVE-2020-8562 and CVE-2021-25740, which wrongly listed a fixed version. The records now mark all versions as affected, so scanners may start flagging them. The three issues are webhook redirects to internal networks, a DNS TOCTOU proxy bypass, and cross-namespace forwarding via Endpoints. All are design tradeoffs that can't be patched without breaking core functionality. Administrators should mitigate through configuration: keep API server log verbosity below 10 with profiling disabled, run a caching DNS resolver like dnsmasq with min-cache-ttl on control plane nodes, and remove Endpoints/EndpointSlice write access from broad RBAC roles on upgraded clusters.

  • Kubernetes on Oxide: How Customer Needs Shaped Our Integrations

    Oxide mediumAdept

    Oxide built a set of Kubernetes integrations driven by customer requests: a Rancher node driver, an Omni infrastructure provider for Talos Linux, and a Cluster API provider (CAPOx) for provisioning, plus a cloud controller manager that reconciles Node objects with Oxide instances. Because Oxide lacks a native load balancer, the CCM implements LoadBalancer services with floating IPs, publishing both the floating IP (Proxy mode) and the node's internal IP (VIP mode) in the Service status and moving the IP on node failure. A native CSI plugin is blocked on disk hot-plug support across the stack, so for now customers pair Longhorn with unreplicated local disks to avoid stacked replication and write amplification.

  • Scheduling the removal of the kube-proxy IPVS backend

    Kubernetes Blog mediumAdept

    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.

The quest for software engineering knowledge.

Look:
Layout: