下载安装VirtualBox(最新版)或docker
https://www.virtualbox.org/
https://docs.docker.com/docker-for-mac/install/
下载安装minikube
curl -Lo minikube https://github.com/kubernetes/minikube/releases/download/v1.5.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
启动minikube
minikube start --image-mirror-country cn --registry-mirror=https://xxxxx.mirror.aliyuncs.com
或
minikube start --driver=virtualbox --registry-mirror=https://xxxx.mirror.aliyuncs.com
常用命令
# terminal中可以输入下列命令,查看集群信息:
kubectl cluster-info
kubectl get nodes -o wide
# 查看页面dashboard
minikube dashboard