最精簡的K8S執行環境 - MiniKube
發表於 : 2017-12-10 22:14:56
代碼: 選擇全部
brew cask install minikube
minikube version
minikube get-k8s-versions
minikube start
minikube dashboard
CodeCharge Studio, DemoCharge, SuperPDF
https://bug.551.com.tw/
代碼: 選擇全部
brew cask install minikube
minikube version
minikube get-k8s-versions
minikube start
minikube dashboard
代碼: 選擇全部
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.8.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
minikube version
minikube start
kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080
kubectl expose deployment hello-minikube --type=NodePort
kubectl get pod
kubectl delete service hello-minikube
kubectl delete deployment hello-minikube
minikube stop