Here're the steps that I follow in setting up my Minikube in Ubuntu.
$ sudo apt update && apt upgrade -y
$ sudo apt install virtualbox virtualbox-ext-pack
$ 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
$ kubectl version --output=yaml
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
$ minikube version -o json
$ minikube start --vm-driver=docker
$ kubectl get pods
$ kubectl get nodes
$ kubectl config view
$ kubectl cluster-info
$ minikube ssh
$ minikube status
$ minikube dashboard
$ minikube dashboard --url
Links:
- https://phoenixnap.com/kb/install-minikube-on-ubuntu