From c00031837f5f1206ad5c6ab3a007b8452f2de8ef Mon Sep 17 00:00:00 2001 From: Guohua Ouyang Date: Tue, 26 Apr 2016 16:38:31 +0800 Subject: [PATCH] Fix #435 --- docs/user-guide/walkthrough/k8s201.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/walkthrough/k8s201.md b/docs/user-guide/walkthrough/k8s201.md index 58ea8b1513..ac4f346084 100644 --- a/docs/user-guide/walkthrough/k8s201.md +++ b/docs/user-guide/walkthrough/k8s201.md @@ -107,7 +107,7 @@ Provided the service IP is accessible, you should be able to access its http end ```shell $ export SERVICE_IP=$(kubectl get service nginx-service -o go-template={% raw %}{{.spec.clusterIP}}{% endraw %}) -$ export SERVICE_PORT=$(kubectl get service nginx-service -o go-template={% raw %}{{(index .spec.ports 0).port}}{% endraw %}) +$ export SERVICE_PORT=$(kubectl get service nginx-service -o go-template='{% raw %}{{(index .spec.ports 0).port}}{% endraw %}') $ curl http://${SERVICE_IP}:${SERVICE_PORT} ```