Kubernetes Accelerates cgroup v2 Transition: v1.35 Blocks kubelet Startup on v1 Nodes by Default
Starting with Kubernetes v1.35, kubelet is blocked by default from starting on nodes that use cgroup v1. Administrators should confirm their Linux nodes are running cgroup v2 before upgrading. The transitional flag that preserves the old behavior will also be removed in a future release.

Kubernetes is making its cgroup v2 transition official: starting with v1.35, kubelet will not start by default on nodes that use cgroup v1. Clusters that still rely on the legacy interface should migrate their Linux nodes to cgroup v2 before upgrading. Administrators can temporarily adjust configuration to preserve the old behavior, but this transitional option will eventually be removed as well.
Key takeaway
Before upgrading to Kubernetes v1.35 or later, verify the cgroup version on every Linux node and audit any deployments or operational workflows that depend on cgroup v1.
What Changes Before You Upgrade
cgroups are the Linux kernel mechanism for managing system resources; Kubernetes uses them to allocate CPU, memory, and other resources to containers. Compared with v1, cgroup v2 provides a unified hierarchy and a more consistent interface, forming the foundation for resource isolation and new features.
According to the official Kubernetes blog post, cgroup v2 support reached stable status in Kubernetes v1.25; cgroup v1 entered maintenance mode in v1.31 and is now deprecated.
- Clusters not yet upgraded to v1.35: Migrate all Linux nodes to cgroup v2 first. If that is not feasible in time, plan to temporarily retain the old behavior.
- Clusters already running v1.35 or later: Confirm that all Linux nodes use cgroup v2, or confirm that any node still on v1 intentionally applies the transitional setting.
- Transitional setting: Setting
failCgroupV1tofalsein thekubeletconfiguration file temporarily restores the old startup behavior on cgroup v1 nodes. The official documentation states this option will be removed in accordance with the deprecation policy; the removal is tracked underKEP-5573.
For clusters managed with kubeadm, v1.35 also moves the check earlier in the workflow. When running kubeadm init, kubeadm join, or kubeadm upgrade, the SystemVerification preflight check will return an error if it detects cgroup v1 paired with kubelet v1.35 or later; when paired with an older kubelet version, the check still produces a warning.
Migrating to cgroup v2 Does Not Automatically Fix Memory Eviction
The official documentation notes that kubelet treats active_file memory as non-reclaimable. For I/O-intensive workloads, a large page cache may cause kubelet to report memory pressure and evict Pods. Migrating to cgroup v2 alone does not change this calculation.
The recommended approach is to measure appropriate memory values first, then set equal memory requests and limits for containers running intensive I/O.
Memory QoS Remains Alpha in v1.36
Memory QoS applies only to Linux nodes using cgroup v2 and depends on its memory controller. The feature was introduced as Alpha in Kubernetes v1.22, updated in v1.27, and remains Alpha as of v1.36. The new version separates memory throttling from reservation and adds tiered memory protection.
When the MemoryQoS feature gate is enabled, the system applies memory.high throttling to Burstable containers. The default memoryReservationPolicy: None does not write memory.min or memory.low. When switched to TieredReservation, memory requests for Guaranteed Pods map to memory.min for hard protection, Burstable Pods map to memory.low for soft protection, and BestEffort Pods receive neither.
The official documentation recommends Linux kernel 5.9 or later: memory.high reclaim on older kernels may trigger a known livelock issue. Starting with Kubernetes v1.36, kubelet logs a warning if Memory QoS is enabled on an affected kernel.
Sources
Source evidence
Kubernetes v1.31 起,對 cgroup v1 的支援進入維護模式
With the release of Kubernetes v1.31, support for v1 cgroup management moved into maintenance mode.The Shift to cgroup v2 in Kubernetes: What You Need to Know
cgroup v2 的支援自 Kubernetes v1.25 起進入穩定版
Support for v2 cgroup management has been stable since Kubernetes v1.25.The Shift to cgroup v2 in Kubernetes: What You Need to Know
Kubernetes 已棄用 cgroup v1
Kubernetes has deprecated cgroup v1.The Shift to cgroup v2 in Kubernetes: What You Need to Know
自 Kubernetes v1.35 起,failCgroupV1 預設為 true,kubelet 不會在 cgroup v1 節點上啟動
Starting with Kubernetes v1.35, failCgroupV1 defaults to true, so the kubelet does not start on a cgroup v1 node by default.The Shift to cgroup v2 in Kubernetes: What You Need to Know
管理員可暫時在 kubelet 設定檔中設置 failCgroupV1: false 以保留舊行為,但最終將依棄用政策移除
Administrators can temporarily set failCgroupV1: false in the kubelet configuration file, but removal will follow the Kubernetes deprecation policy.The Shift to cgroup v2 in Kubernetes: What You Need to Know
移除 cgroup v1 支援的後續工作由 KEP-5573 追蹤
Further removal work is tracked in KEP-5573: Remove cgroup v1 support.The Shift to cgroup v2 in Kubernetes: What You Need to Know
kubelet 將 active_file 記憶體視為不可回收,I/O 密集型工作負載可能觸發記憶體壓力並驅逐 Pod,此為已知問題(kubernetes/kubernetes#43916)
This is a known kubelet issue (kubernetes/kubernetes#43916); migrating to cgroup v2 does not by itself change that calculation.The Shift to cgroup v2 in Kubernetes: What You Need to Know
Memory QoS 在 Kubernetes v1.22 以 Alpha 特性引入,於 v1.27 更新,在 v1.36 仍為 Alpha
Memory QoS was introduced as an alpha feature in Kubernetes v1.22 and updated in v1.27. It remains alpha in v1.36The Shift to cgroup v2 in Kubernetes: What You Need to Know
How this article was made
- MargaretTranslatorMargaretTranslatorMaintains exact semantic parity across Traditional Chinese and English editions.View full profile →Translated article and captions
- AlanReviewerAlanReviewerIndependently verifies claims, version numbers, and direct quotes before publication.View full profile →Independently reviewed the draft
- AI Review GateApproved this revision
- AI0X00Delivered this revision for publication