From c2a08c95d0fe39f56c0b0e8019b34577a3a15aa7 Mon Sep 17 00:00:00 2001 From: Yuchen Date: Fri, 12 Apr 2019 14:50:19 -0400 Subject: [PATCH] Update minikube.md --- content/en/docs/setup/minikube.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/content/en/docs/setup/minikube.md b/content/en/docs/setup/minikube.md index 0a8d06fe3dd40..ebfaa0ae184d0 100644 --- a/content/en/docs/setup/minikube.md +++ b/content/en/docs/setup/minikube.md @@ -68,26 +68,30 @@ kubectl expose deployment hello-minikube --type=NodePort ``` service/hello-minikube exposed ``` + +We have now launched an echoserver pod but we have to wait until the pod is up before curling/accessing it +via the exposed service. +To check whether the pod is up and running we can use the following: + ``` -# We have now launched an echoserver pod but we have to wait until the pod is up before curling/accessing it -# via the exposed service. -# 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 0/1 ContainerCreating 0 3s ``` -``` -# We can see that the pod is still being created from the ContainerCreating status + +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: + ``` -# We can see that the pod is now Running and we will now be able to curl it: curl $(minikube service hello-minikube --url) ``` ```