How do I fix Minikube not starting with a CRI socket mismatch?
#1
I’ve been trying to set up a local Kubernetes cluster on my home server using Minikube, but I keep hitting a wall with the container runtime interface configuration. The cluster just won’t initialize, and the error logs are pointing to a mismatch between the kubelet and the CRI socket. Has anyone else run into this specific issue when getting started?
Reply
#2
I ran into the exact same snag last month. the logs showed a CRI socket mismatch and kubelet couldn’t connect. turns out containerd wasn’t running, so there was no /run/containerd/containerd.sock to talk to. once I started containerd (or switched minikube to a runtime that existed), the kubelet socket matched and the cluster finally came up after a couple of restarts.
Reply
#3
Another thing I checked was the driver/runtime mix. I had a mismatch where minikube tried to use containerd while the host was still wired to docker shim, so I made sure I wasn’t pulling in two runtimes at once and re-created the cluster with a single runtime.
Reply
#4
Quick question: are you using the default driver or did you pick something custom for the local cluster?
Reply
#5
Sometimes it felt like a red herring - once I found the problem was actually a stale config in ~/.minikube that pointed kubelet at the wrong socket, I dumped the directory and started fresh, but that didn’t always fix it on the first try.
Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump: