generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/backlogHigher priority than priority/awaiting-more-evidence.Higher priority than priority/awaiting-more-evidence.
Description
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:
system-validators/validators/types_unix.go
Lines 46 to 48 in c8b796a
{Name: "CGROUP_CPUACCT"}, // cgroups v1 cpuacct {Name: "CGROUP_DEVICE"}, {Name: "CGROUP_FREEZER"}, // cgroups v1 freezer Cgroups: []string{"cpu", "cpuacct", "cpuset", "devices", "freezer", "memory", "pids"},
(For context, this is related to the OpenSUSE MicroOS community ticket – https://bugzilla.suse.com/show_bug.cgi?id=1249454)
Thank you so much, in advance for your help!
cc: @pacoxu
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/backlogHigher priority than priority/awaiting-more-evidence.Higher priority than priority/awaiting-more-evidence.