-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use cgroupsv2 where available (fedora) #8237
Use cgroupsv2 where available (fedora) #8237
Conversation
e95852a
to
424190c
Compare
We should also set kubelet_cgroup_driver to systemd as it's the recommended runc setting with cgroupv2 |
You mean like we did in https://github.com/kubernetes-sigs/kubespray/pull/8206/files ?
|
All good then, I was grepping for |
Shouldn't this file be updated too for the same behavior ?
|
To be perfectly honest I only tested with containerd and have not looked into cri-o support for cgroups v2. We also do this for docker so we should probably extend the change to all 3. /hold - while I do some experimentation |
424190c
to
83eb19a
Compare
@cristicalin You may rebase #8258 as soon as it's merged 👍 |
83eb19a
to
186ebd8
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cristicalin, floryut The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
186ebd8
to
7b2012f
Compare
This should be good to go after it passes CI. /hold cancel |
7b2012f
to
bb082e3
Compare
Thanks for doing this. /lgtm |
* Containerd: use cgroupsv2 where available (fedora) * Docker: use cgroupsv2 where available (fedora) * cri-o: use cgroupsv2 where available (fedora)
* Containerd: use cgroupsv2 where available (fedora) * Docker: use cgroupsv2 where available (fedora) * cri-o: use cgroupsv2 where available (fedora)
* Containerd: use cgroupsv2 where available (fedora) * Docker: use cgroupsv2 where available (fedora) * cri-o: use cgroupsv2 where available (fedora)
What type of PR is this?
/kind feature
What this PR does / why we need it:
Modern container managers support cgroupsv2 and we should not disable it anymore. We already have distributions with cgroupsv2 in CI (fedora), this change lets us confirm the support for them.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: