mac本地安裝kubernetes

##安裝minikubedocker

curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.7.1/minikube-darwin-amd64
chmod +x minikube
sudo mv minikube /usr/local/bin/

##啓動minikubeapi

minikube start
minikube status

##安裝kubectlcurl

curl -Lo kubectl http://storage.googleapis.com/kubernetes-release/release/v1.3.0/bin/darwin/amd64/kubectl
chmod +x kubectl
sudo mv kubectl /usr/local/bin/

##查看google

kubectl get pods --all-namespaces
eval $(minikube docker-env)

##docurl

相關文章
相關標籤/搜索