-
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
minikube start
on CRI-O fails since 1.23.1
#12509
Comments
I have the same on a MAC using Parallel: |
I tried with container-runtime=containerd or docker, it works fine, so the problem is with cri-o minikube start --cpus 4 --memory 4096 --driver=parallels --container-runtime=containerd --disk-size=80G |
fixed adding extra-config minikube start --cpus 4 --memory 4096 --driver=parallels --container-runtime=cri-o --disk-size=80G --extra-config=kubelet.cgroup-driver=systemd the only difference that I see via minikube ssh is "--cgroup-driver=systemd" into the kubeadm.conf systems config:
the problem is in the kubeadm.yaml file used to bootstrap the minikube cluster/node in the last version 1.22.1 of kubelet, it is deprecated the parameter --cgroup-driver, and as default it is configured to get cgroupfs. To fix finally the problem, we need to request to insert into the kubeadm.yaml the following configuration:
it is also present in the template https://github.com/kubernetes/minikube/blob/v1.23.1/hack/update/kubernetes_version/templates/v1beta2/crio.yaml |
@fsbaraglia Thank you for your investigative work! |
minikube start
fails since 1.23.1minikube start
on CRI-O fails since 1.23.1
if this is a kubelet config change why does it only affect crio, this seems to be an important bug |
for reference here is Docker runtime on Docker driver
here is CRIO on docker driver
question is, Why Kublet would "Wants" Docker.socket for Crio ? |
@dilyanpalauzov @fsbaraglia I've discovered the root of the problem. So in the point release from v1.23.0 -> v1.23.1 I updated cri-o from v1.20 -> v1.22. Unknown to us, a PR titled For minikube to know what cgroup to use for minikube, we default to |
@dilyanpalauzov @fsbaraglia This should be fixed with out newest release of minikube v1.23.2 |
After upgrading minikube 1.23 → 1.23.1 minikube start does initially download whatever it wants, and then fails to start.
Compare to the output of
minikube-1.23.0 start
:The text was updated successfully, but these errors were encountered: