Reputation: 929
I'm trying to install Minikube on Windows 10 Home. I don't have Hyper-V but i understand i can still use Minikube to as a remote Docker daemon as well as local Kubernetes cluster.
I appreciate the assistance please. When i tried starting minikube i get the following error:
So what am i doing wrong?
Upvotes: 1
Views: 2535
Reputation: 15413
These instructions are for setting up and installing Minikube and its dependencies for use on Windows Home editions that are using Docker Toolbox.
Install Kubectl
Create a new directory that you will move your kubectl
binaries into. A good place would be C:\Users\YOURUSERNAME\bin
since these path variables will also be made available to the "Docker Quick Start" terminal.
Download the latest kubectl
executable from the link on the Kubernetes doc page:
https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-windows
Move this downloaded .exe
file into the bin directory you created.
Use Windows search to type “env” or “edit” then select “Edit the system environment variables”
In the System Properties dialog box, click “Environment Variables”.
In User Variables click on the “Path” Variable and then click “Edit”
Click “New” and then type C:\Users\YOURUSERNAME\bin
Click "OK"
Restart your terminal and test by typing kubectl
into it. You should get the basic commands and help menu printed back to your screen. If this doesn't work try restarting your machine.
Install Minikube
VirtualBox should already be installed from setting up Docker Toolbox, so we wont need to install this again.
To install Minikube we can use the standalone installer, which is available by clicking this link:
https://github.com/kubernetes/minikube/releases/latest/download/minikube-installer.exe
After the installer finishes, restart your terminal and test your installation:
minikube status
Running minikube start
will provision the VirtualBox machines and startup your Kubernetes services.
Upvotes: 0
Reputation: 8421
Since Windows 10 Home Edition doesnt support Hyper V, you might want use VirtualBox instead.
Follow Getting Start with Kubernetes in Windows 10 with Minikube and kubectl
In short: 1) install VirtualBox
2) download, install chocolatey
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALUSERSPROFILE%\chocolatey\bin"
3) install kubernetes-cli
choco install kubernetes-cli
4) start minikube with --vm-driver=virtualbox
option
minikube start --vm-driver=virtualbox
Upvotes: 2