setting up minikube on ubuntu 18



If you're install on Ubuntu and getting

"Error creating new host: dial tcp: missing address"

Or unable to find driver kvm .... .well you came to the right place.


First up, yo need to do the following :-


sudo apt install libvirt-dev
test -d $HOME/go/src/k8s.io/minikube || \
  git clone https://github.com/kubernetes/minikube.git $HOME/go/src/k8s.io/minikube
cd $HOME/go/src/k8s.io/minikube
git pull
make out/docker-machine-driver-kvm2
sudo install out/docker-machine-driver-kvm2 /usr/local/bin



sudo cp minikube /usr/local/bin && rm minikube
Installing minikube (if you installed using apt-get, you might get some weir

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
  && chmod +x minikube



Finally installing kubectl
  1. sudo snap install kubectl --classic







Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm