From 81dd45f6cb6c785e155e5e1d33c30b562c463bb6 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Mon, 27 May 2019 03:21:49 +0100 Subject: [PATCH] =?UTF-8?q?Tidy=20&=20reword=20=E2=80=9CConfigure=20a=20Po?= =?UTF-8?q?d=20to=20Use=20a=20Projected=20Volume=20for=20Storage=E2=80=9D?= =?UTF-8?q?=20(#14539)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Reference glossary entry for Secret * Fix code block format code * Tidying & rewording --- .../configure-projected-volume-storage.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/configure-projected-volume-storage.md b/content/en/docs/tasks/configure-pod-container/configure-projected-volume-storage.md index 4e3c7cdc98..a6e3e5372c 100644 --- a/content/en/docs/tasks/configure-pod-container/configure-projected-volume-storage.md +++ b/content/en/docs/tasks/configure-pod-container/configure-projected-volume-storage.md @@ -8,7 +8,7 @@ weight: 70 --- {{% capture overview %}} -This page shows how to use a [`projected`](/docs/concepts/storage/volumes/#projected) volume to mount +This page shows how to use a [`projected`](/docs/concepts/storage/volumes/#projected) Volume to mount several existing volume sources into the same directory. Currently, `secret`, `configMap`, `downwardAPI`, and `serviceAccountToken` volumes can be projected. @@ -24,7 +24,7 @@ and `serviceAccountToken` volumes can be projected. {{% capture steps %}} ## Configure a projected volume for a pod -In this exercise, you create username and password Secrets from local files. You then create a Pod that runs one Container, using a [`projected`](/docs/concepts/storage/volumes/#projected) Volume to mount the Secrets into the same shared directory. +In this exercise, you create username and password {{< glossary_tooltip text="Secrets" term_id="secret" >}} from local files. You then create a Pod that runs one container, using a [`projected`](/docs/concepts/storage/volumes/#projected) Volume to mount the Secrets into the same shared directory. Here is the configuration file for the Pod: @@ -46,18 +46,18 @@ Here is the configuration file for the Pod: ```shell kubectl apply -f https://k8s.io/examples/pods/storage/projected.yaml ``` -1. Verify that the Pod's Container is running, and then watch for changes to +1. Verify that the Pod's container is running, and then watch for changes to the Pod: ```shell kubectl get --watch pod test-projected-volume ``` The output looks like this: - ```shell + ``` NAME READY STATUS RESTARTS AGE test-projected-volume 1/1 Running 0 14s ``` -1. In another terminal, get a shell to the running Container: +1. In another terminal, get a shell to the running container: ```shell kubectl exec -it test-projected-volume -- /bin/sh @@ -73,5 +73,3 @@ the Pod: * Learn more about [`projected`](/docs/concepts/storage/volumes/#projected) volumes. * Read the [all-in-one volume](https://github.com/kubernetes/community/blob/{{< param "githubbranch" >}}/contributors/design-proposals/node/all-in-one-volume.md) design document. {{% /capture %}} - -