diff options
| author | David Xia <dxia@spotify.com> | 2017-03-13 14:06:00 -0400 |
|---|---|---|
| committer | David Xia <dxia@spotify.com> | 2017-03-13 14:06:00 -0400 |
| commit | b30b72464e08bf144dac5e1a655bc6769b7d7352 (patch) | |
| tree | 0ed821663217f7aa75f38ddd5f9096a3b77eba5b | |
| parent | 1afe10483237951c3bf44feff70ba9efdc419afa (diff) | |
Fix markdown formatting
| -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: |
