If you tried surfing the internet with the hope of finding how you can install minikube so you could run kubernetes locally, you might not find a complete approach on how to do that. This post guides you through what you need installed before you finally install minikube.
- You will need to update and grade your system.
sudo apt-get update && sudo apt-get upgrade -y
The -y allows the update without your prompt.
- Install socat, conntrack and apt-transport-https for networking between clusters
sudo apt-get install socat apt-transport-https conntrack
- Install curl if you don't have it
sudo apt-get install curl
- Minikube needs a driver to run your cluster, it might be docker engine (container-based) or a virtualbox (Vm-based). This guide tells you how to install virtual box. You would still need to install docker engine as the runtime for your clusters anyway, so you might just want to install only docker engine using this link.
sudo apt install virtualbox virtualbox-ext-pack
Follow through and complete the installation of virtual box.
- Finally, install minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
- Test your installation.
minikube version
Top comments (0)