Saturday, January 12, 2019

local setup using minikube

local setup using minikube.:

Generic:
https://devopsdiaryblog.wordpress.com/2020/10/30/how-to-setup-minikube-environment/


In MAC:

brew install kubectl
kubectl version --client
brew cask install minikube
brew install docker-machine-driver-xhyve
sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
minikube start --vm-driver=xhyve
kubectl config current-context
kubectl get nodes
minikube stop
minikube delete

minikube start --vm-driver=xhyve --kuernetes-version="v1.6.0"


In windows:
https://storage.googleapis.com/kubernetes-release/release/v1.6.0/bin/windows/amd64/kubectl.exe
https://github.com/kubernetes/minikube/releases  --> 64bit windows version

minikube start --vm-driver=hyperv --kuernetes-version="v1.6.0"
minikube dashboard

minikube start ---> will take the hypervisor as the default one: virtualbox with latest minikube version.
the vm user is root with no or root as password.

No comments:

Post a Comment