Merge pull request #436 from gouyang/fix_syntax_error

Fix #435
pull/387/merge
johndmulhausen 2016-04-26 11:16:48 -07:00
commit 3365986a19
1 changed files with 1 additions and 1 deletions

View File

@ -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}
```