From 38c6a23eb2fee58238ed24e08c641de5dd4bd654 Mon Sep 17 00:00:00 2001 From: Alex Robinson Date: Sat, 18 Jul 2015 18:48:41 -0700 Subject: [PATCH] Improve markdown highlighting in downward API user guide. --- docs/user-guide/downward-api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/downward-api/README.md b/docs/user-guide/downward-api/README.md index 1c881ee3076..8744822b4c1 100644 --- a/docs/user-guide/downward-api/README.md +++ b/docs/user-guide/downward-api/README.md @@ -50,7 +50,7 @@ containers to be injected with the name and namespace of the pod the container i Use the [`examples/downward-api/dapi-pod.yaml`](dapi-pod.yaml) file to create a Pod with a container that consumes the downward API. -```shell +```console $ kubectl create -f docs/user-guide/downward-api/dapi-pod.yaml ``` @@ -59,7 +59,7 @@ $ kubectl create -f docs/user-guide/downward-api/dapi-pod.yaml This pod runs the `env` command in a container that consumes the downward API. You can grep through the pod logs to see that the pod was injected with the correct values: -```shell +```console $ kubectl logs dapi-test-pod | grep POD_ 2015-04-30T20:22:18.568024817Z POD_NAME=dapi-test-pod 2015-04-30T20:22:18.568087688Z POD_NAMESPACE=default