By the time I need this again, it may no longer be good because this seems to be changing so fast, but today I installed Minikube and for local kubernetes. Every time I tried to run any ‘minikube’ command, I was getting a ‘Segment Fault 11’ error. I tried to figure out how to delete minikube and found this article which did what I needed. This fixed my issue, deleted existing minikube, and then started a new minikube cluster, which worked:
In this installation, we use hyperkit, because xhyve is deprecated. You can choose VirtualBox as well, but I will not describe it here and focus on hyperkit.
Paste the following command in a terminal window:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.26.1/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
next install hyperkit:
curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-hyperkit \ && chmod +x docker-machine-driver-hyperkit \ && sudo mv docker-machine-driver-hyperkit /usr/local/bin/ \ && sudo chown root:wheel /usr/local/bin/docker-machine-driver-hyperkit \ && sudo chmod u+s /usr/local/bin/docker-machine-driver-hyperkit
At this point, please consider removing failed minikube installation :
Now you are ready to get started with minikube!
minikube --vm-driver=hyperkit start
After a while, the cluster is started, and you can use it by the command:
(this info came from SO (https://stackoverflow.com/questions/49932743/not-able-to-start-minikube-on-mac/49942163#49942163) , but saving it here just incase I can’t find it next time)