How to fix VM issue with minikube start ?

前端 未结 4 1236
天涯浪人
天涯浪人 2021-02-18 13:22

I am a beginner to Kubernetes and starting off with this tutorial. I installed VM and expected to be able to start a cluster by using the command:

minikube star         


        
相关标签:
4条回答
  • 2021-02-18 14:07

    This definitely worked for me, starting minikube by specifying vm-driver and kubernetes-version

    minikube start --vm-driver=hyperkit --kubernetes-version v1.16.0

    0 讨论(0)
  • 2021-02-18 14:09

    Have you tried restarting your computer after installing the VirtualBox ? (seems to be also a known bug to docker-machine which is used by minikube to initialize you local env)

    0 讨论(0)
  • 2021-02-18 14:12

    Figured out the issue. VirtualBox was not installed correctly as Mac had blocked it. It wasn't obvious at first.

    • Restarting won't work if VirtualBox isn't installed correctly.

    • System Preferences -> Security & Privacy -> Allow -> Then allow the software corporation (in this case Oracle)

    • Restart

    Now it worked as expected.

    0 讨论(0)
  • 2021-02-18 14:15

    Sorry not writing the solution, but i found a good link through which you can get the issue resolved

    https://medium.com/@DMeechan/fixing-the-installation-failed-virtualbox-error-on-mac-high-sierra-7c421362b5b5

    0 讨论(0)
提交回复
热议问题