-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Have kubelet use systemd cgroup driver on al2 and ubuntu #2962
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
Conversation
Kubernetes documentation indicates that for stability reasons one should run kubernetes with the systemd cgroup driver if the init system itself is systemd. https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers The same change is also be made in awslabs/amazon-eks-ami: awslabs/amazon-eks-ami#521
|
Verified manally for
Verified manually for
|
|
Thanks @reegnz the team will get to this asap 👍 |
Callisto13
left a comment
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.
LGTM, thanks for catching this 👍
|
This change causes problems for us using ubuntu 16 (also doesn't work well on ubuntu 18) as our node ami with the included versions of systemd. It seems there are some bugs in systemd's cgroup driver in ubuntu 16 and 18 that cause docker to hang on creating containers, etc... and in turn it causes kubelet to hang and the nodes to become "NotReady". Downgrading eksctl to eksctl version 0.34.0 (the last version before this change) fixes the issue. It would be great if eksctl could provide a flag to allow the users to change (or choose which of) these types of options to use instead of eksctl changing a default underneath it's users. Especially for older OS releases. |
|
@romeotheriault could you open an issue for this please? |
Description
Kubernetes documentation indicates that for stability reasons
one should run kubernetes with the systemd cgroup driver if the
init system itself is systemd.
https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers
The same change is also be made in awslabs/amazon-eks-ami:
awslabs/amazon-eks-ami#521
Fixes #2960
Checklist
README.md, or theuserdocsdirectory)area/nodegroup), target version (e.g.version/0.12.0) and kind (e.g.kind/improvement)