Kubernetes v1.37 has promoted the KubeletInUserNamespace feature gate to beta, enabling node components to run as non-root users via Linux user namespaces. This 'rootless mode' limits the impact of container-breakout vulnerabilities by restricting node component privileges on the host.
Key points
The KubeletInUserNamespace feature allows node components like kubelet, CRI, and OCI runtimes to operate in rootless mode.
Running components in user namespaces mitigates risks from container-breakout vulnerabilities by isolating them from host root privileges.
This feature is distinct from pod-level user namespaces and can be used in tandem to support Kubernetes-in-Kubernetes deployments.
User namespaces do not replace existing security measures like seccomp, as they do not protect against vulnerabilities within the kernel itself.