minikube quickly setup a local Kubernetes cluster on our personal computer. So you can try out Kubernetes very easily.

1. Install minikube

requirements

  • 2GB of free memory
  • 20GB of free disk space
  • docker or virtual machine manager(VirtualBox, VMWare)

a. First download the latest minikube

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb

b. Install with dpkg

sudo dpkg -i minikube_latest_amd64.deb

c. Check the minikube version

minikube version

2. Install kubectl

a. Download the kubectl

curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl

b. Check the version

kubectl version -o json

3. Play with minikube

a. Start minikube

minikube start

first time it is downloading minikube docker from the gcr.

b. Stop minikube

minikube stop

c. Status of minikube

minikube status

d. List of installed Minikube addons

minikube addons list

To enable an add-on, see:

minikube addons enable <name>

To disable an addon:

minikube addons disable <name>

e. Dashboard

minikube dashboard