"Hyper-V PowerShell Module is not available" - when trying to run minikube (hyperV) on windows
Instead of using VirtualBox, you might want to take advantage of your hyperV. (I think using virtual box is probably easier) -
Please note, if you're trying to run kubernetes on a local cluster with docker hyperV, you should know that Docker for Windows supports Kubernetes directly. Please check out this post.
Anyways, should you come down this path, you need Docker-machine version 0.15.0. (v0.14.0) gives you hyperV module not found error".
Please download from here :-
1. Create a folder in C:\kubernetes (you need to place all files in C driver)
2 Please all your .exe file here (you need to download separately)
2.1 kubectl - kubernetes tool
2.2 docker-machine - version 0.15.0 that you can get from here https://github.com/docker/machine/releases/download/v0.15.0/docker-machine-Windows-x86_64.exe
Rename this file to docker-machine.exe.
2.3 minikube.exe - https://github.com/kubernetes/minikube/releases/download/v0.28.2/minikube-windows-amd64. Rename to minikube.exe
If you installed your kubernetes-cli and minikube using chocolatey, try to remove them.
2. To create your vm, If you haven't created your virtual switch, please follow the instruction here.
.\docker-machine create -d hyperv --hyperv-virtual-switch "Primary Virtual Switch" minikube
3. start minikube by using the following command
minikube start
4. Try to see if your local cluster is up and running.
.\kubectl cluster-info
Comments