-
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
Regression: v1.27.1
does not work with k8s version v1.25.2
#15099
Comments
Adding my error too! @mbana thanks for sharing the temporary fix! Hello from Docker! To generate this message, Docker took the following steps:
To try something more ambitious, you can run an Ubuntu container with: Share images, automate workflows, and more with a free Docker ID: For more examples and ideas, visit: [kevinevans@banff ~]$ minikube start Unfortunately, an error has occurred: This error is likely caused by: If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands: Additionally, a control plane component may have crashed or exited when started by the container runtime. stderr:
💣 Error starting cluster: wait: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.25.2:$PATH" kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1 Unfortunately, an error has occurred: This error is likely caused by: If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands: Additionally, a control plane component may have crashed or exited when started by the container runtime. stderr: ╭───────────────────────────────────────────────────────────────────────────────────────────╮ ❌ Exiting due to K8S_KUBELET_NOT_RUNNING: wait: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.25.2:$PATH" kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1 Unfortunately, an error has occurred: This error is likely caused by: If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands: Additionally, a control plane component may have crashed or exited when started by the container runtime. stderr: 💡 Suggestion: Check output of 'journalctl -xeu kubelet', try passing --extra-config=kubelet.cgroup-driver=systemd to minikube start [kevinevans@banff ~]$ sudo minikube start --vm-driver=none --extra-config=kubelet.cgroup-driver=systemd ❌ Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.25.2 requires conntrack to be installed in root's path |
Seems to be related to the use of
|
Please open a new issue. Seems to be Docker Desktop VM related ? |
Another possible workaround, where your root-fs is $ cat /etc/docker/daemon.json
{
"storage-driver": "overlay2"
} Then restart $ sudo systemctl restart --now docker && sudo systemctl restart --now docker.socket && sudo systemctl restart --now docker.service Alternatively just reboot the system. |
I also so something similar: Oct 11 08:24:19 kgw kubelet[10844]: E1011 08:24:19.750087 10844 run.go:74] "command failed" err="failed to set feature gates from initial flags-based config: cannot set feature gate LocalStorageCapacityIsolation to false, feature is locked to true" Full Log: https://gist.github.com/mbana/382f94fb4c666c12d56b86837f9b27ed Anyway, what I wrote here, #15099 (comment), seems to have fixed it for me. It's not ideal. |
this seems to be a kubernetes regression for that version rthat doesnot support setting the storage flag |
What Happened?
works fine but:
does not.
Attach the log file
Entire log is available at: https://gist.github.com/mbana/f9dfc9334a7d4435192d16032dd8e650
Please ignore escape sequences.
Operating System
Redhat/Fedora
Driver
Docker
With version
v1.27.1
the only way I can get it to start is by using:The text was updated successfully, but these errors were encountered: