Added a note regarding that you may have to wait before you can curl the Quickstart url

pull/240/head
aprindle 2016-06-28 16:25:50 -07:00
parent 3380a56971
commit 7423024d3f
1 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,16 @@ Kubernetes is available at https://192.168.99.100:443.
$ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --hostport=8000 --port=8080
deployment "hello-minikube" created
# We have now launched an echoserver pod but we have to wait until the pod is up before curling/accessing it
# To check whether the pod is up and running we can use the following:
$ kubectl get pod
NAME READY STATUS RESTARTS AGE
hello-minikube-3383150820-vctvh 1/1 ContainerCreating 0 3s
# We can see that the pod is still being created from the ContainerCreating status
$ kubectl get pod
NAME READY STATUS RESTARTS AGE
hello-minikube-3383150820-vctvh 1/1 Running 0 13s
# We can see that the pod is now Running and we will now be able to curl it:
$ curl http://$(minikube ip):8000
CLIENT VALUES:
client_address=192.168.99.1