ITADN

[need-info] Does kubeadm require CONFIG_CGROUP_CPUACCT/DEVICE/FREEZER even with cgroups v2?

#51ClosedPriyankasaggu11929 创建于 2025-09-12
kind/bugpriority/backlog
Is it correct understanding that the following kernel config options (from the cgroups v1) are always need to be set/enabled by default on the node host, regardless of whether the node is configured to use cgroups v1 or v2? ``` CONFIG_CGROUP_CPUACCT: not set CONFIG_CGROUP_DEVICE: not set CONFIG_CGROUP_FREEZER: not set ``` If so, is this due to these kernel configs hardcoded in the following 2 places: * [https://github.com/kubernetes/system-validators/blob/c8b796a384a0c0a69eb7f00ba61cad931780fc3a/validators/types\_unix.go#L46-L48](https://github.com/kubernetes/system-validators/blob/c8b796a384a0c0a69eb7f00ba61cad931780fc3a/validators/types_unix.go#L46-L48) * [https://github.com/kubernetes/system-validators/blob/c8b796a384a0c0a69eb7f00ba61cad931780fc3a/validators/types\_unix.go#L71](https://github.com/kubernetes/system-validators/blob/c8b796a384a0c0a69eb7f00ba61cad931780fc3a/validators/types_unix.go#L71) (For context, this is related to the OpenSUSE MicroOS community ticket – [https://bugzilla.suse.com/show\_bug.cgi?id=1249454](https://bugzilla.suse.com/show_bug.cgi?id=1249454)) Thank you so much, in advance for your help! cc: @pacoxu
关闭于 2025-09-17 6 条评论