Merge pull request #449 from davidxia/fix-markdown-formatting
Fix markdown formatting in devel/local-cluster/docker.md.
This commit is contained in:
commit
427da79f5d
|
@ -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:
|
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}})
|
ip=$(kubectl get svc nginx --template={{.spec.clusterIP}})
|
||||||
echo $ip
|
echo $ip
|
||||||
{% endraw %}```
|
```
|
||||||
|
|
||||||
Hit the webserver with this IP:
|
Hit the webserver with this IP:
|
||||||
|
|
||||||
```shell{% raw %}
|
```shell
|
||||||
|
|
||||||
curl $ip
|
curl $ip
|
||||||
{% endraw %}```
|
```
|
||||||
|
|
||||||
On OS X, since docker is running inside a VM, run the following command instead:
|
On OS X, since docker is running inside a VM, run the following command instead:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue