minikube: minikube start hangs on Staring local Kubernetes cluster...
Ubuntu 14.04 LTS
There doesn’t seem to be a way to get it to tell me why its hanging?
Tried on three separate boxes
$ minikube start --v=999 --logtostderr
Starting local Kubernetes cluster...
I0626 12:10:22.128266 4422 cluster.go:59] Machine exists!
I0626 12:13:26.738461 4422 cluster.go:59] Machine exists!
I0626 12:16:31.367349 4422 cluster.go:59] Machine exists!
E0626 12:19:36.055509 4422 start.go:64] Error starting host: Error starting stopped host: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (7 by maintainers)
I was having similar issue and can confirm that
minikube deleteandrm -rf ~/.minikubeworked for me also, as suggested by @btiplingI had a similar error and I resolved the problem with the command
minikube delete.I had this problem after I created a “my-nginx” service as described in the k8s quickstart guide. Specifically the command:
kubectl expose deployment my-nginx --target-port=80 --type=LoadBalancefailed and resulted in failures with regard to minikube’s ip address not responding. I could no longer start or stop services with ssh not responding. I can not reproduce the original problem so I don’t know what the root cause was. I just thought mentioning
minikube deletemight help someone else who comes to this issue.My issue was caused by a limitation in VirtualBox that does not allow running a virtual machine within a virtual machine. KVM supports this and I was able to get this to work by changing to the KVM driver.