-
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
k8s v1.24.0-alpha.1: failed to run Kubelet: using dockershim is not supported #13134
Labels
co/runtime/docker
Issues specific to a docker runtime
kind/bug
Categorizes issue or PR as related to a bug.
Comments
tstromberg
changed the title
Kubernetes v1.24.0.alpha.1: failed to run Kubelet: using dockershim is not supported, please consider using a full-fledged CRI implementation
Kubernetes v1.24.0.alpha.1: failed to run Kubelet: using dockershim is not supported
Dec 9, 2021
tstromberg
changed the title
Kubernetes v1.24.0.alpha.1: failed to run Kubelet: using dockershim is not supported
Kubernetes v1.24.0-alpha.1: failed to run Kubelet: using dockershim is not supported
Dec 9, 2021
tstromberg
changed the title
Kubernetes v1.24.0-alpha.1: failed to run Kubelet: using dockershim is not supported
k8s v1.24.0-alpha.1: failed to run Kubelet: using dockershim is not supported
Dec 9, 2021
See https://github.com/Mirantis/cri-dockerd:
docker@minikube:~$ more /etc/crictl.yaml
runtime-endpoint: unix:///var/run/cri-docker.sock
image-endpoint: unix:///var/run/cri-docker.sock
docker@minikube:~$ sudo systemctl list-units cri-docker.*
UNIT LOAD ACTIVE SUB DESCRIPTION
cri-docker.service loaded active running CRI Interface for Docker Application Container Engine
cri-docker.socket loaded active running CRI Docker Socket for the API
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'. |
It also breaks |
Closing as dupe of #12099 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
co/runtime/docker
Issues specific to a docker runtime
kind/bug
Categorizes issue or PR as related to a bug.
What Happened?
minikube at HEAD (90300a4) defaults to using
dockershim
, which no longer ships with Kubernetes v1.24.x. One can work around this by overriding the default container runtime, for instance, by passing in--container-runtime=containerd
.However, this isn't an ideal user experience.
More specifically,
minikube start --kubernetes-version=v1.24.0-alpha.1
yields the following error:minikube logs shows that the kubelet is in a boot-loop because it's expecting dockershim, which no longer ships with v1.24.0:
Full log file: log.txt
Recommendations
On at least Kubernetes v1.24.0+, minikube should select an alternative default CRI implementation.
In the meantime, passing
--container-runtime=containerd
allows minikube to run Kubernetes v1.24.0-alpha.1.Related: kubernetes/kubernetes#106917
The text was updated successfully, but these errors were encountered: