-
Notifications
You must be signed in to change notification settings - Fork 519
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
Default to cgroup v2 for dev and k8s-1.26 variants #2875
Default to cgroup v2 for dev and k8s-1.26 variants #2875
Conversation
Make systemd set up a cgroup v2 hierarchy on boot by default for the development/-dev variants. The old default of using cgroup v1 may still be achieved via a setting applied using `apiclient` apiclient set -j '{"settings": {"boot": {"init": {"systemd.unified_cgroup_hierarchy": ["0"]}}}}' or via user data: [settings.boot] reboot-to-reconcile = true [settings.boot.init] "systemd.unified_cgroup_hierarchy" = ["0"] Signed-off-by: Markus Boehme <[email protected]>
Make systemd set up a cgroup v2 hierarchy on boot by default for the k8s-1.26 variants. The old behavior of using cgroup v1 may still be achieved via a setting applied using `apiclient` apiclient set -j '{"settings": {"boot": {"init": {"systemd.unified_cgroup_hierarchy": ["0"]}}}}' or via user data: [settings.boot] reboot-to-reconcile = true [settings.boot.init] "systemd.unified_cgroup_hierarchy" = ["0"] Signed-off-by: Markus Boehme <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, assuming conformance testing passes.
Running the conformance tests now. The code LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🏐
|
Thank you Tianhao! |
Issue number:
Closes #2843
Description of changes: Make the
*-dev
and*-k8s-1.26
variants use cgroup v2 by default.Testing done:
apiclient
) work as expected via inspection of/sys/fs/cgroup
on the host.aws-k8s-1.24
variant for availability of a working EKS cluster.*-k8s-1.26
variants!Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.