← English news
Priority 4/5

Kubernetes v1.37 Promotes Rootless Node Components Feature to Beta for Enhanced Host Security

Kubernetes v1.37 marks a major milestone in cluster hardening with the promotion of Rootless mode, officially tracked as KubeletInUserNamespace, to beta status. This enhancement enables essential node-level components, including the kubelet, container runtime interface, OCI runtime, CNI plugins, and kube-proxy, to run within a Linux user namespace without requiring host root privileges. Moving these components out of the host root context drastically reduces the attack surface of the Kubernetes control plane.

Primary source

Open Kubernetes Blog ↗

This article summarizes the source. Check the original for full details and conditions.

Comparison

AspectBefore / AlternativeAfter / This
Host PrivilegesKubelet and container runtime run with full root privileges on the host OSComponents run inside a user namespace with unprivileged status on the host OS
Impact of Escape ExploitCompromised node components grant full access to the host kernel and filesystemExploit is confined within a specific, non-root user namespace container
System ManagementDirect manipulation of host networks, mounts, and kernel parametersRestricted file system and network configurations managed via user namespace abstractions

Action Checklist

  1. Verify host OS kernel compatibility and ensure user namespaces are enabled at the operating system level Some Linux distributions require explicit sysctl configuration to allow unprivileged user namespaces.
  2. Enable the KubeletInUserNamespace feature gate in the Kubernetes v1.37 cluster configuration This is a beta feature and may require manual activation depending on your distribution.
  3. Reconfigure the CRI runtime, OCI runtime, and CNI plugins to run in rootless mode Refer to specific documentation for containerd or CRI-O regarding unprivileged execution.
  4. Test existing workloads for potential filesystem or device access limitations under the rootless environment Certain privileged operations or host-path mounts may behave differently or fail under non-root execution.