freedev / solrcloud-zookeeper-kubernetes

Run Solrcloud and Zookeeper in a Kubernetes environment
Apache License 2.0
57 stars 29 forks source link

"Machine Exists" when starting minikube #4

Closed jonhartmann closed 5 years ago

jonhartmann commented 5 years ago

When attempting to run minikube start I think I'm hanging. The prompt gets this far and just hangs.

> minikube start
Starting local Kubernetes v1.12.4 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Stopping extra container runtimes...
Machine exists, restarting cluster components...

If I try to continue the setup steps either while its running for after it eventually times out, it doesn't seem to be working as none of the referenced local address work to reach SOLR.

Any ideas?

Update: Here is the error listed during the timeout:

E0109 17:20:22.886689   21052 start.go:349] Error restarting cluster:  restarting kube-proxy: waiting for kube-proxy to be up for configmap update: timed out waiting for the condition
jonhartmann commented 5 years ago

Hrm - it looks like this can be fixed by deleting and starting again:

> minikube delete
Deleting local Kubernetes cluster...
Machine deleted.

> minikube start
Starting local Kubernetes v1.12.4 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Stopping extra container runtimes...
Starting cluster components...
Verifying kubelet health ...
Verifying apiserver health ...Kubectl is now configured to use the cluster.
Loading cached images from config file.

Everything looks great. Please enjoy minikube!