Skip to content
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

cgroups are disabled, can't use docker nor kvm2 drivers #20016

Open
fe2-Nyxar opened this issue Nov 29, 2024 · 5 comments
Open

cgroups are disabled, can't use docker nor kvm2 drivers #20016

fe2-Nyxar opened this issue Nov 29, 2024 · 5 comments

Comments

@fe2-Nyxar
Copy link

What Happened?

i've tried installing minikube, but it didn't work, first i tried kvm2 and it said i have cgroup disabled, i found nothing helpful on how to enable these, and then moved on to docker

Attach the log file

https://gist.github.com/fe2-Nyxar/e74317e580310279c46eb5ff61c720a7
this is the log for minikube (too big i couldn't put it here)

Operating System

Other

Driver

Docker

@T-Lakshmi
Copy link

Similar issue was logged at #4144

@fe2-Nyxar
Copy link
Author

Similar issue was logged at #4144

since 2019? interesting, are there any solutions yet?

@Ritikaa96
Copy link

Hey this question from FAQ can help i guess:

Docker Driver: How can I set minikube’s cgroup manager?
For non-VM and non-SSH drivers, minikube will try to auto-detect your system’s cgroups driver/manager and configure all other components accordingly. For VM and SSH drivers, minikube will use cgroupfs cgroups driver/manager by default. To force the systemd cgroup manager, run:

minikube start --force-systemd=true

@Ritikaa96
Copy link

Also , checking your log i found this,

This error is likely caused by:
- The kubelet is not running
- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:

- 'systemctl status kubelet'
- 'journalctl -xeu kubelet'

Have you tried this?

@Ritikaa96
Copy link

There are multiple solutions given in #4144 it is possible they work for some and doesnt work for others , Please try all these solutions first and let us know what was the outcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants