1. 安装kubectl

brew install kubernetes-cli

2. 安装minikube

# 官方原版,需要科学上网
brew cask install minikube

# 阿里云的minikube
curl -Lo minikube http://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/releases/v0.30.0/minikube-darwin-amd64 && chmod +xminikube && sudo mv minikube /usr/local/bin/

3. minikube 启动命令

minikube start --docker-env HTTP_PROXY=192.168.2.114:31210 --docker-env HTTPS_PROXY=192.168.2.101:31210

标签: k8s, minikube, docker

添加新评论