Remove cgroup v1/v2 only Kernel Config checks - #53
Conversation
dce726f to
543c5b4
Compare
| {Name: "CGROUP_BPF"}, // cgroups v2 | ||
| {Name: "CGROUP_CPUACCT"}, // cgroups v1 cpuacct | ||
| {Name: "CGROUP_DEVICE"}, // cgroups v1 device | ||
| {Name: "CGROUP_FREEZER"}, // cgroups v1 freezer | ||
| {Name: "CGROUP_HUGETLB", Description: "Required for hugetlb cgroup."}, // cgroups v1 hugetlb |
There was a problem hiding this comment.
adding these under optional it's still incorrect. it will warn for about options required (optional=warn) for both v1 and v2.
we definitely need the other PR.
but if we are backporting something i think it's better to remove them from config options and rely on the controller checks only. because controller enabled == kernel config enabled, right?
#51 (comment)
if we don't want to backport anything we could say it's a known bug and that they must skip preflight.
There was a problem hiding this comment.
Removed.
Backport may be helpful to avoid some errors. But #41 was merged for system validator v1.9.0 which is kubernetes v1.32. (released in Dec 2024.)
There was a problem hiding this comment.
iiuc, we need to backport this commit to multiple sv and k8s versions.
i can cut the new sv releases, but would leave the backports to you.
543c5b4 to
4ec2c81
Compare
neolit123
left a comment
There was a problem hiding this comment.
if you are going with removing the options, best to rename the commit and pr name.
4ec2c81 to
80cf094
Compare
|
/hold Let me confirm this again. |
This was addressed.
|
Sorry. My fault. I forgot the cgroup controller checks. It would be OK. /unhold |
|
I created a CR #54 here. [EDITED, wrong PR number] |
i'm getting a bit confused. i think we need to do this:
does that plan make sense? |
Totally agree. |
80cf094 to
d0181d8
Compare
|
Updated this PR and the CR #54 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123, pacoxu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
i will cut 1.9.2 soon |
|
1.9.2 do we not need this in 1.10 as well? |
Yes @neolit123 v1.34 is using v1.10.1 |
ok please send CR for release-1.10 and will create a new release there too. |
https://man7.org/linux/man-pages/man7/cgroups.7.html (search
in Linux 5.2 and earlier).)#51 (comment)
To make it cherry-pickable, I opened this PR.