Kubernetes v1.36 Introduces General Availability for User Namespaces

Published on April 24, 2026

Kubernetes has reached a pivotal moment with the General Availability (GA) of User Namespaces in its v1.36 release. This feature, which allows Kubernetes workloads to achieve rootless security, has been in development for several years. For users accustomed to traditional container security models, this change marks a significant shift in how workloads can be managed.

The introduction of User Namespaces enables workloads to run with elevated privileges while maintaining confinement within the user namespace. Setting hostUsers: false allows capabilities like CAP_NET_ADMIN to be namespaced, effectively granting administrative powers over local container resources without impact on the host system. This change opens up new use cases previously only achievable through fully privileged containers.

Integrating this functionality wasn’t straightforward. One major hurdle had been volume ownership issues, which slowed performance due to the need for unnecessary file ownership changes. The solution came with ID-mapped mounts in Linux, enabling a seamless file access experience without the overhead of modifying disk ownership, thus preserving performance during container startup.

With Kubernetes v1.36, implementing User Namespaces is simple; users need only adjust their Pod configuration to opt-out of host user namespaces. This ease of integration, coupled with the increased security measures for container workloads, transforms how Kubernetes operates. Developers are now encouraged to explore this capability, fundamentally enhancing the security landscape for containerized applications.

Related News