-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 cgroup v2 #824
Comments
The latest AL2022 AMI (
|
Is there any progress on this? We've run into a problem when using the |
The Kubernetes docs also recommend a 5.8+ kernel for cgroup v2. |
Kubernetes support for cgroups v2 is only stable from v1.25. There was a very good talk about this at KubeCon, the video should be on YouTube in a day or so. |
Yep, I'll post the talk when it's up. Wish we had run into you, @stevehipwell! We'll have the proper |
@cartermckinnon I couldn't convince work to let me come over so I've been watching remotely with major FOMO! 😢 |
What will be the container runtime when you rebase on AL2022? runc or crun? |
@zekena2 We don't have any plans to switch to |
The GA dates haven't aligned, unfortunately. My current understanding is that AL2022 (now known as AL2023) is preparing to cut an initial release candidate, so we're still a few steps away from GA. |
@cartermckinnon Bottlerocket is moving to cgroup v2 for all new variants from |
group v2 on Amazon Linux 2 would be a "you get to keep both pieces" kind of environment. Moving to Amazon Linux 2023 is where this would be supported by the Amazon Linux team. #1340 appears to have been merged, so there's at least a WIP / PoC there. |
Can we get runc v1.1.9 as a dependency here due to an incorrect reporting of resource usage prior to this version. |
I'm going to close this, our first AL2023-based AMIs are available 👍 |
What would you like to be added:
Support for cgroup v2, specifically for
systemd
.Why is this needed:
Kubernetes recommends that, when using
systemd
as the cgroup driver, the "unified hierarchy" of cgroup v2 be used.Depends on:
systemd@244
kernel@5.8
Implementation notes:
Cgroup v2 is enabled by a kernel flag:
sudo grubby \ --update-kernel=ALL \ --args="systemd.unified_cgroup_hierarchy=1"
Which can be added to the Packer spec. There is no support for v2 until
systemd@230
, and AL2 is currently atsystemd@219
. The recommended version (byrunc
) issystemd@244
. A newersystemd
is not expected to be available until the next major release of Amazon Linux.The text was updated successfully, but these errors were encountered: