From b30b72464e08bf144dac5e1a655bc6769b7d7352 Mon Sep 17 00:00:00 2001 From: David Xia Date: Mon, 13 Mar 2017 14:06:00 -0400 Subject: [PATCH] Fix markdown formatting --- contributors/devel/local-cluster/docker.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/contributors/devel/local-cluster/docker.md b/contributors/devel/local-cluster/docker.md index 78768f806..36dfd676a 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: