Kubernetes 1.37 Moves to Rootless Kubelet Beta

Kubernetes 1.37 promotes the KubeletInUserNamespace feature to beta, allowing node components to run without root privileges and reducing security risks.
Kubernetes 1.37 Moves to Rootless Kubelet Beta - bimakale.com
06 Eylül 2026 Sunday - 01:02 (1 Saat önce) 3 dk okuma

KubeletInUserNamespace Feature and Scope

In Kubernetes 1.37, the long‑tested KubeletInUserNamespace feature is being promoted to beta. This feature enables the kubelet, CRI and OCI runtimes, CNI plugins, and kube-proxy—as well as all other node components—to run inside a Linux user namespace without root privileges. Consequently, each component is isolated with its own user ID, limiting direct access to the host operating system.

Why Rootless Mode Matters for Security

Past container‑breakout vulnerabilities (e.g., CVE‑2022‑0811, CVE‑2023‑27561, CVE‑2024‑10220) threatened system security because node components ran as root. Rootless mode mitigates these risks by confining each component to its assigned user permissions. As a result, an attack that succeeds inside a container is far less likely to jump to the host.

Technical Implications of Moving from Alpha to Beta

The feature was first introduced as an alpha in v1.22 and has been tested by the community ever since. Promotion to beta indicates improved stability and compatibility guarantees. Users can expect most API changes and configuration options to remain largely stable in the beta release. However, some limitations still exist; for example, not all CNI plugins may support user namespaces, which could require additional configuration.

Integration with the Existing Ecosystem

Adoption of rootless mode can also affect CI/CD pipelines and operational teams. It is emphasized that pod user namespace features should not be confused with this capability; the two are independent and can be used together. This means administrators can manage isolation both at the pod level and for node components separately. Additionally, distributed tracing and log‑collection tools may need minor adjustments to correctly recognize components running inside a user namespace.

What Users Should Watch Out For

With the beta promotion, it is crucial to conduct thorough testing before enabling rootless mode in production environments. In particular, consider the following points:

  • Runtime compatibility: Verify that your OCI runtime provides user‑namespace support.
  • CNI plugins: Ensure network plugins operate correctly in this isolated environment.
  • Monitoring and metric collection: Confirm that observability tools can detect rootless components.
  • Upgrade strategy: Prepare a rollback plan for possible API changes in the beta.

These steps help prevent unexpected outages while maximizing security benefits. In large‑scale clusters, the modest performance overhead introduced by rootless mode should also be evaluated; user‑namespace isolation adds a slight kernel cost, but this cost is generally considered reasonable given the security advantage.

In summary, the beta stage introduced in Kubernetes 1.37 pushes container infrastructure security one step further. Careful testing and adaptation of this feature will reduce current risks and prepare users for future security standards.

Source: Kubernetes Blog

Kaynak: Kubernetes Blog

Alakalı İçerikler


  • Kubernetes
  • Rootless
  • KubeletInUserNamespace
  • beta
  • güvenlik
  • konteyner
  • Linux kullanıcı ad alanı



Comments
Add your comment
Kullanıcı
0 character
Other Tags by the Author Show all
Popular Tags Show all
Other content by the author