Mac 安装MiniKube

2019/03/15 posted in  Kubernetes
  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.114:31210