<p>Links suggested i use minikube to install kubernetes. However i am confused if i should install this on my ubuntu host machine or on the vm provisioned with virtual box running on this host machine.
I want to know the pre-requisites for the install and how to go about it. 
I am a newbie to kubernetes and pretty confused on how to go about it.</p>

<p>You can try Kubernetes right away with Minikube. It will take just a few minutes to see Kubernetes running on your laptop or desktop. I tried it on my laptop with Ubuntu 16.04. I put it here <a href="https://gitlab.com/abushoeb/kubernetes/" rel="nofollow noreferrer">https://gitlab.com/abushoeb/kubernetes/</a> but for your convenience, you can just follow the following steps:</p>

<h2>How to install Kubernetes</h2>

<h3>You need to install 3 components</h3>

<ul>
<li>Virtualbox <a href="https://tecadmin.net/install-oracle-virtualbox-on-ubuntu/" rel="nofollow noreferrer">https://tecadmin.net/install-oracle-virtualbox-on-ubuntu/</a></li>
<li>Kubectl <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/tools/install-kubectl/</a></li>
<li>Minikube <a href="https://github.com/kubernetes/minikube/releases" rel="nofollow noreferrer">https://github.com/kubernetes/minikube/releases</a> <a href="https://github.com/kubernetes/minikube" rel="nofollow noreferrer">https://github.com/kubernetes/minikube</a></li>
</ul>

Install Virtual Box

<p><code>
$ sudo nano /etc/apt/sources.list (add followin line to your sources.list if you haven't already)
deb http://download.virtualbox.org/virtualbox/debian xenial contrib
$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.1
</code></p>

Install Kubectl

<p><code>
$ curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
$ chmod +x ./kubectl
$ sudo mv ./kubectl /usr/local/bin/kubectl
</code></p>

Install Minikube

<p><code>
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.20.0/minikube-linux-amd64
$ chmod +x minikube
$ sudo mv minikube /usr/local/bin/
</code></p>

Minikube Commands

<p><code>
start k8 cluster $ minikube start
or start specific version of k8 $ minikube start --kubernetes-version="v1.5.2"
or start with a flag enabled $ minikube start --kubernetes-version="v1.5.3" --extra-config kubelet.EnableCustomMetrics=true
enable any addon e.g. heapster $ minikube addons enable heapster
see all k8 versions $ minikube get-k8s-versions
see minikube status $ minikube status
access k8 dashboard $ minikube dashboard (this will open your browser)
stop minikube $ minikube stop
</code></p>

Reference

<ul>
<li><a href="https://kubernetes.io/docs/getting-started-guides/minikube/" rel="nofollow noreferrer">https://kubernetes.io/docs/getting-started-guides/minikube/</a></li>
<li><a href="https://github.com/kubernetes/minikube/releases" rel="nofollow noreferrer">https://github.com/kubernetes/minikube/releases</a></li>
<li><a href="https://rominirani.com/tutorial-getting-started-with-kubernetes-on-your-windows-laptop-with-minikube-3269b54a226" rel="nofollow noreferrer">https://rominirani.com/tutorial-getting-started-with-kubernetes-on-your-windows-laptop-with-minikube-3269b54a226</a> </li>
</ul>
