Closed jakoberpf closed 2 years ago
/kind support
Does anyone have an idea what could be the issue?
I started seeing this recently on my Mac (not an M1) but I am using the flag --kubernetes-version=v1.18.19
and it works fine if I use the flag --kubernetes-version=v1.19.13
It was working fine, I took a week off for Christmas, come back and it's not working now. I did some googling and found that kubernetes v1.19 was the first to support cgroups v2. This seems to be related to the error but I'm not sure what has changed in minikube that would cause this. Interestingly, your logs show using kubernetes v1.22.3 which is the latest k8s release, and you are still having this issue, but yet when I change the kubernetes version from the older release to the newer (but not latest) release, it works fine for me. That tells me that my root cause might be different from yours.
@tspearconquest Interesting that you saw the same issue and where able to fix it with and older kubernetes version. I tried the same, but am still seeing the same error.
Which MacOS version are you running? Is there anything in your networking configuration that you manually configured on the Mac?
Does the cluster still work, for example do the pods start up and can you still access them over the network in any way?
If you just wanna run anyway, make docker network manually(I used subnet 192.168.9.0/24).
Then minikube start
might work.
@tspearconquest I am on 12.0.1 and my network configuration is quite basic, as just DHCP on private WIFI. I can access the cluster ressources via portforwarding, but not via ingresses
@taeuuoo Your previous commen actually did the trick. Running docker network create --subnet 192.168.9.0/24 --driver bridge minikube
before minikube start
work fixed my error.
Is this in general a problem of minikube (not beeing able to create this network by itself) or could it be related to the M1 arch or my (default) network conifguration?
From what I can tell, the the network was already being used by docker, which would be related to your network configuration. For minikube, subnet creation should iterate up to a point, approx. 20 tries.
For additional debugging purposes, provide additional details from docker.
Please share the output of docker network ls
And also share the output of docker inspect [name of the network]
That way we can see what networks docker is using and troubleshoot further.
Hi @jakoberpf โ is this issue still occurring? Are additional details available? If so, please feel free to re-open the issue by commenting with /reopen
. This issue will be closed as additional information was unavailable and some time has passed.
Additional information that may be helpful:
Whether the issue occurs with the latest minikube release
The exact minikube start command line used
Attach the full output of minikube logs, run minikube logs --file=logs.txt
to create a log file
Thank you for sharing your experience!
Steps to reproduce the issue: On M1 Pro Macbook Pro 2021 and docker installed, run
minikube start
.I did some googling but came up empty for this issue.
Full output of failed command if not
minikube start
: