-
Notifications
You must be signed in to change notification settings - Fork 292
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
[Question] How to enable cgroups v1 in AKS 1.25+? #3580
Comments
Hi maxkt, It might address your issue |
Action required from @Azure/aks-pm |
Issue needing attention of @Azure/aks-leads |
1 similar comment
Issue needing attention of @Azure/aks-leads |
hello. However, after reading "https://github.com/Azure/AKS/tree/master/examples/cgroups" and setting cgroup v1, stable memory is being used. I plan to use cgroup v2 again by upgrading the java version in the future. Can I get a yaml file that changes cgroup v1 -> v2? |
Describe scenario
We use AKS to orchestrate Docker containers that serve as isolated envrionments for on-the-go code evaluation in different languages. Inside Docker containers we apply one more isolation level via a sandbox library called isolate. This library is built on cgroups v1 API.
AKS version 1.25 includes update to Ubuntu 22 which has cgroups v1 API disabled by default and replaced by cgroups v2. Isolate library doesn't support cgroups v2 yet. While in general one may configure the OS to stay on cgroups v1 in Ubuntu 22, I don't see a documented way to to it in AKS.
AKS version 1.24 still works on lower Ubuntu version that has cgroups v1 enabled, but this AKS version is going to be depreacted in a couple of months.
Question
Can we somehow configure Ubuntu nodes in 1.25+ AKS cluster to use cgroups v1? If we don't do it, we may need to stay on the deprecated AKS version and that's not good, obviously.
The text was updated successfully, but these errors were encountered: