https://minikube.sigs.k8s.io/docs/
$ brew install docker
Install hyperkit https://minikube.sigs.k8s.io/docs/drivers/hyperkit/
$ git clone https://github.com/moby/hyperkit.git
$ cd hyperkit
$ make
$ cp ./build/hyperkit /usr/local/bin/hyperkit
Download minikube https://github.com/kubernetes/minikube/releases
minikube url list https://github.com/kubernetes/minikube/releases/ (arm | amd)
For MacOS amd
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 \
&& chmod +x minikube
$ sudo mv minikube /usr/local/bin
## $ minikube config set driver docker
$ minikube config set driver hyperkit
$ minikube start \
--cpus=8 \
--v=4 \
--memory=8192 \
--network-plugin=cni \
--enable-default-cni \
--bootstrapper=kubeadm \
--kubernetes-version v1.18.3 \
--image-mirror-country=cn \
--image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers
Download kubectl for Mac, unzip and put into your OS path
$ curl -LO https://dl.k8s.io/v1.18.6/kubernetes-client-darwin-amd64.tar.gz
https://minikube.sigs.k8s.io/docs/
Ubuntu:
$ sudo apt-get install docker.io
CentOS:
$ sudo yum install docker-ce
For Linux
Install VirtualBox, access and find right version for your OS
https://www.virtualbox.org/wiki/Linux_Downloads
Download minikube https://github.com/kubernetes/minikube/releases
For Linux
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
&& chmod +x minikube
sudo install minikube /usr/local/bin/
$ minikube config set driver virtualbox
$ minikube start \
--cpus=8 \
--v=4 \
--memory=8192 \
--network-plugin=cni \
--enable-default-cni \
--bootstrapper=kubeadm \
--kubernetes-version v1.18.3 \
--image-mirror-country=cn \
--image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers
Download kubectl for Linux
$ curl -LO https://dl.k8s.io/v1.18.6/kubernetes-client-linux-amd64.tar.gz