[SIG-Node]: KEP-5714: cgroup namespaces
Author: AkihiroSudaCreated Sep 30, 2026Updated Sep 30, 2026
Labelskind/featurearea/cri
KEP/SIG-Node References
- KEP(s): 5714
- stage: alpha
- KEP Issue: https://github.com/kubernetes/enhancements/issues/5714
- KEP PR: https://github.com/kubernetes/enhancements/pull/5715
- K8s-Release: 1.38
- KEP-Owner: @AkihiroSuda
- SIG-Node member liason: @AkihiroSuda
- KEP-Shepherd: @AkihiroSuda
What is the SIG-Node problem you are trying to solve
Allow explicitly setting hostCgroupNamespace: BOOL.
Currently the host cgroup ns is used for:
- privileged pods
- cgroup v1 pods
Describe the solution you would like
Update the CRI API as proposed in https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/5714-cgroupns/README.md#cri-api
Add
CgroupnsOptions *CgroupNamespacetoNamespaceOption.CgroupnsOptions.Modecan be set to eitherPODorNODE. Similar toUsernsOptions *UserNamespace, theCgroupnsOptionsfield can be nil for backward compatibility.Add
CgroupNamespaces booltoRuntimeHandlerFeaturesfor indicating the presence of the feature.
Additional context
- CRI API https://github.com/kubernetes/kubernetes/pull/142544
- containerd implementation https://github.com/containerd/containerd/pull/14266
- critest implementation https://github.com/kubernetes-sigs/cri-tools/pull/2192
Source: containerd/containerd