Why Kubernetes Is Phasing Out cgroup v1
What the Kubernetes v1.37 sneak peek says happens to the kubelet on a cgroup v1 node, what the override is and what depends on cgroup v2.
For: Learners who know what a container is and want to understand Kubernetes nodes.
What changes on a cgroup v1 node
As modern Linux distributions and container runtimes use cgroup v2 as the default, support for the legacy cgroup v1 is officially being phased out.[1]
Since the v1.35 release, the failCgroupV1 setting has defaulted to true.[1]
Consequently, the kubelet will fail to initialize on any nodes that still rely on cgroup v1 unless an explicit configuration override is applied.[1]
Why the override is short-term
Using this override should be considered a short-term fix.[1]
While the override remains available in Kubernetes v1.37, users are encouraged to migrate to cgroup v2, as support for cgroup v1 is planned to be removed in a future release.[1]
What depends on cgroup v2
Advanced resource management capabilities, such as In-Place Pod Resizing and Tiered Memory Protection, depend entirely on cgroup v2.[1]
Sources
- Kubernetes v1.37 sneak peek (kubernetes.io · checked )
More articles
- LearningWhat a cgroup Is and What Kubernetes Uses It ForWhat the Kubernetes project's post says a cgroup is, what Kubernetes uses it for and what version 2 provides.
- LearningNVKE and NVKR: What the Two NVIDIA Projects DoWhat NVIDIA's announcement says NVKE and NVKR do, that they can be used together or apart, and their license and release status.
- LearningWhat a Cold Start Is and What a Saved GPU Copy SkipsWhat NVIDIA's post says a cold start is, what its checkpoint captures and which startup steps a restore skips.