Directions to install Minikube on Ubuntu 18.04
Directions to install and run Minikube!
-
Update Ubuntu dependencies:
sudo apt-get update sudo apt-get install -y apt-transport-https
-
Install VirtualBox on Ubuntu:
sudo apt-get install -y virtualbox virtualbox-ext-pack
-
Install latest Docker:
sudo apt-get install -y docker.io
-
Install kubectl binary with curl on Linux
Download the latest release with the command:
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl (To download a specific version, replace the $(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt) portion of the command with the specific version.
For example, to download version v1.15.0 on Linux, type:
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.15.0/bin/linux/amd64/kubectl)
Make the kubectl binary executable:
chmod +x ./kubectl
Move the binary in to your PATH:
sudo mv ./kubectl /usr/local/bin/kubectl
Test to ensure the version you installed is up-to-date:
kubectl version
-
Install Minikube:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \ && chmod +x minikube
-
Add the Minikube executable to your path:
sudo install minikube /usr/local/bin
-
Launch Minikube:
minikube start
-
To access externally from your LAN run the following command on the machine locally:
kubectl proxy --address='0.0.0.0' --disable-filter=true
& should be able to access via:
http://IP_Address_of_your_machine:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/
-
Optional - locally launch on your machine:
minikube dashboard
-
Stop minikube:
minikube stop
-
Delete instance
minikube delete