WIP: This page is a work in progress
Prerequisites
- install docker
OSX Install Session
501 curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl 508 chmod +x ./kubectl 509 sudo mv ./kubectl /usr/local/bin/kubectl 510 kubectl cluster-info 511 kubectl completion -h 512 brew install bash-completion 513 curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.19.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ 514 minikube start 515 minikube start --vm-driver=vmwarefusion 516 kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080 517 kubectl expose deployment hello-minikube --type=NodePort 519 kubectl get pod 520 curl $(minikube service hello-minikube --url) 522 minikube stop |
---|