diff options
| author | Paulo Pires <pjpires@gmail.com> | 2017-03-16 07:39:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-16 07:39:47 +0000 |
| commit | 427da79f5dfc68fee81cc48e66d60f82c67fb056 (patch) | |
| tree | a43c521fd2f92f32bac13920ad463328f940314d | |
| parent | 945936c12a401f09fb19091ebe9a0b4016af6a08 (diff) | |
| parent | b30b72464e08bf144dac5e1a655bc6769b7d7352 (diff) | |
Merge pull request #449 from davidxia/fix-markdown-formatting
Fix markdown formatting in devel/local-cluster/docker.md.
| -rw-r--r-- | contributors/devel/local-cluster/docker.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contributors/devel/local-cluster/docker.md b/contributors/devel/local-cluster/docker.md index 78768f80..36dfd676 100644 --- a/contributors/devel/local-cluster/docker.md +++ b/contributors/devel/local-cluster/docker.md @@ -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: |
