Troubleshooting Minikube first Installation in MS Windows Environment
This Document is created to help you out in troubleshooting common hurdles while installing minikube in your hosted virtual environment. So, during installation of minikube if you face any problem which is not letting you deploy your Kubernetes architecture in the form of minikube then cross check below steps.
- When you download minikube, add minikube.exe to c:\Minikube or any location you can mention in the system variable later on
- Configure system variables with the name of Minikube presenting its path with name you call in CLI including Kubectl tool location as well as shown in the fig below
1)
Above Picture show paths I have configured in my environment for accessing minikube / K8s running in a VM.
Note: This may be required when you are using Kubectl tool from your laptop or desktop to access minikube setup from within vmware workstation.
Now, verify that hyper v is running inside guest OS (i.e. Windows 8 VM)
Alternatively, you can also run hyperv from powershell using this command below. Make sure you’re logged in as an administrator:
and use below powershell command to enable Hyper-V
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
You can read more about enabling hyperv here
Second Scenario or Situation
If during deployment of minikube, VM doesn’t start or raises any error for incomplete deployment.
- Go to virtual switch manager
- Create a New Virtual Network switch (Internal)
- Call the switch "Minikube"
- Go to Control Panel\Network and Internet\Network and Sharing Center
- Go to your vEthernet status (will be on the right side underneath “Access type:” Internet, in the “Connections:” list
Run:
.\minikube.exe start --kubernetes-version="v1.8.0" --vm-driver="hyperv" --memory=1024 --hyperv-virtual-switch="Minikube" --v=7 --alsologtostderr
And check once again :)
For detailed Installation Guide you can visit my YouTube Video
We are a gaggle of volunteers and opening a new scheme in our community. Your site provided us with valuable info to work on. You've done an impressive process and our entire group will probably be thankful to you. Sea cans for sale near me
ReplyDelete