-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
none: detect cgroupfs driver for kubelet configuration #4172
Comments
Do you mind attaching the output of |
|
|
|
|
All that was on a fresh Ubuntu 16.04 VM, with all current patches applied. |
Apparently, we should switch cgroup driver, from cgroupfs to systemd (#4770). @afbjorklund mentioned this workaround for CentOS:
|
Let's call the extra config a "head start", but actually it is
https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers I think it's a "when on systemd..." thing. And that cgroupfs is still fine, if using a regular init ? |
Wonder why the detection is not working, the documentation said that it would (for Docker) ?
The other ticket (#4770) was about changing the default for the minikube VM, this one was about |
As far as I know, the default Docker installation will use "cgroupfs". Possibly using the instructions given by docker info -f {{.CgroupDriver}} |
minikube start failed and refferred me to this issue. I had this error: and more failed following this. The cause : VPN . The hyperkit VM didn't have internet bridge configured thus had no access to all urls. |
You are legend, bro |
Indeed!!!!!! |
This worked for me. Thanks a lot :) |
Can we use the latest version now or is this still a problem? |
Still a problem with the latest version... :( |
For me, it works also with 1.24 version. Not quite the last version, but it's newer than 1.23. I hope this helps. |
I was able to install K8s v1.25.6 without error but I'm still seeing issues with 1.26.1. BTW, I used the following command: minikube stop && minikube delete && minikube start --kubernetes-version=v1.25.6 |
Hi I am facing same issue while installing on windows 10 , but the steps listed are not for windows , any advise please for windows |
Run minikube delete in your terminal to remove the existing container |
sudo minikube start --vm-driver=none --docker-opt bip='172.18.0.1/24'
ubuntu xenial 16.04
The created file /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
has in it
--cgroup-driver=cgroupfs
when the docker_daemon.json has"exec-opts": ["native.cgroupdriver=systemd"]
minikube should detect the docker cgroup driver and use this for it's created config files.
The text was updated successfully, but these errors were encountered: