diff --git a/README.md b/README.md index 1f70a6d..3283686 100644 --- a/README.md +++ b/README.md @@ -334,7 +334,7 @@ Follow this set of steps to get you started: state: ``` - $ /opt/bin/kubectl get pods + $ /opt/bin/kubectl --server=0.0.0.0:8080 get pods ``` * Once all the containers are running, hit the IP on the 10.244.xxx.yyy subnet diff --git a/guestbook-example.sh b/guestbook-example.sh index d347aa1..652a0e1 100755 --- a/guestbook-example.sh +++ b/guestbook-example.sh @@ -6,10 +6,10 @@ git clone https://github.com/GoogleCloudPlatform/kubernetes pushd kubernetes git checkout -b v$VERSION tags/v$VERSION -/opt/bin/kubectl create -f examples/guestbook/redis-master-controller.yaml -/opt/bin/kubectl create -f examples/guestbook/redis-master-service.yaml -/opt/bin/kubectl create -f examples/guestbook/redis-slave-controller.yaml -/opt/bin/kubectl create -f examples/guestbook/redis-slave-service.yaml -/opt/bin/kubectl create -f examples/guestbook/frontend-controller.yaml -/opt/bin/kubectl create -f examples/guestbook/frontend-service.yaml -/opt/bin/kubectl get pods +/opt/bin/kubectl --server=0.0.0.0:8080 create -f examples/guestbook/redis-master-controller.yaml +/opt/bin/kubectl --server=0.0.0.0:8080 create -f examples/guestbook/redis-master-service.yaml +/opt/bin/kubectl --server=0.0.0.0:8080 create -f examples/guestbook/redis-slave-controller.yaml +/opt/bin/kubectl --server=0.0.0.0:8080 create -f examples/guestbook/redis-slave-service.yaml +/opt/bin/kubectl --server=0.0.0.0:8080 create -f examples/guestbook/frontend-controller.yaml +/opt/bin/kubectl --server=0.0.0.0:8080 create -f examples/guestbook/frontend-service.yaml +/opt/bin/kubectl --server=0.0.0.0:8080 get pods