Deploying Kubernetes using Minikube
Minikube is still in development; it is a tool that makes it easy to run Kubernetes locally, optimized for the underlying OS (MAC/Linux). It runs a single-node Kubernetes cluster inside a VM. Minikube helps developers to learn Kubernetes and do day-to-day development and testing with ease.
The following setup will cover Minikube setup on Mac OS X, as very few guides are present to deploy Kubernetes on Mac:
Download the Minikube binary:
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.12.2/minikube-darwin-amd64 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 79.7M 100 79.7M 0 0 1857k 0 0:00:43 0:00:43 --:--:-- 1863k
Grant execute permission to the binary:
$ chmod +x minikube
Move the Minikube binary to
/usr/local/bin
so that it gets added to the path and can be executed directly on the terminal:$ sudo mv minikube /usr/local/bin
After this...