Merge pull request #449 from davidxia/fix-markdown-formatting

Fix markdown formatting in devel/local-cluster/docker.md.
This commit is contained in:
Paulo Pires 2017-03-16 07:39:47 +00:00 committed by GitHub
commit 427da79f5d
1 changed files with 4 additions and 5 deletions

View File

@ -167,17 +167,16 @@ kubectl expose deployment nginx --port=80
Run the following command to obtain the cluster local IP of this service we just created:
```shell{% raw %}
```shell
ip=$(kubectl get svc nginx --template={{.spec.clusterIP}})
echo $ip
{% endraw %}```
```
Hit the webserver with this IP:
```shell{% raw %}
```shell
curl $ip
{% endraw %}```
```
On OS X, since docker is running inside a VM, run the following command instead: