A hypervisor allows you to create and run virtual machines. VirtualBox will be the hypervisor we'll be using for this exercise, so make sure you download and install the packages for your operating system:
You can install minikube
using Windows installer by downloading and installing this package.
kubectl
is the command line tool we'll be using to interact with our local cluster - and in fact, any Kubernetes cluster in general.
To install kubectl
in Windows, download this executable and put it in the same path as this repository.
To start minikube, simply type the following in your terminal or command line:
minikube start
This will setup the virtual machines required to run a minimal Kubernetes cluster. Once minikube start
is finished, you can specify the minikube
context from your command line:
kubectl config use-context minikube
To verify that you're connected to the cluster, you can run the following command:
kubectl cluster-info
Huzzah! You're ready!