diff --git a/_data/tasks.yml b/_data/tasks.yml index 18a4c61c01..5e3cd06e6b 100644 --- a/_data/tasks.yml +++ b/_data/tasks.yml @@ -21,7 +21,6 @@ toc: - docs/tasks/configure-pod-container/configure-persistent-volume-storage.md - docs/tasks/configure-pod-container/projected-volume.md - docs/tasks/configure-pod-container/environment-variable-expose-pod-information.md - - docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information.md - docs/tasks/configure-pod-container/configure-service-account.md - docs/tasks/configure-pod-container/pull-image-private-registry.md - docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md @@ -40,6 +39,7 @@ toc: - title: Injecting Data Into Applications section: - docs/tasks/inject-data-application/define-environment-variable-container.md + - docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md - docs/tasks/inject-data-application/distribute-credentials-secure.md - docs/tasks/inject-data-application/podpreset.md diff --git a/docs/tasks/configure-pod-container/dapi-volume-resources.yaml b/docs/tasks/inject-data-application/dapi-volume-resources.yaml similarity index 100% rename from docs/tasks/configure-pod-container/dapi-volume-resources.yaml rename to docs/tasks/inject-data-application/dapi-volume-resources.yaml diff --git a/docs/tasks/configure-pod-container/dapi-volume.yaml b/docs/tasks/inject-data-application/dapi-volume.yaml similarity index 100% rename from docs/tasks/configure-pod-container/dapi-volume.yaml rename to docs/tasks/inject-data-application/dapi-volume.yaml diff --git a/docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information.md b/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md similarity index 95% rename from docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information.md rename to docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md index 2166b633c8..bc32fd4042 100644 --- a/docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information.md +++ b/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md @@ -1,11 +1,12 @@ --- -title: Exposing Pod Information to Containers Using the Downward API +title: Exposing Pod Information to Containers Through Files redirect_from: - "/docs/user-guide/downward-api/" - "/docs/user-guide/downward-api/index.html" -redirect_from: - "/docs/user-guide/downward-api/volume/" - "/docs/user-guide/downward-api/volume/index.html" +- "/docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information/" +- "/docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information.html" --- {% capture overview %} @@ -40,7 +41,7 @@ Together, these two ways of exposing Pod and Container fields are called the In this exercise, you create a Pod that has one Container. Here is the configuration file for the Pod: -{% include code.html language="yaml" file="dapi-volume.yaml" ghlink="/docs/tasks/configure-pod-container/dapi-volume.yaml" %} +{% include code.html language="yaml" file="dapi-volume.yaml" ghlink="/docs/tasks/inject-data-application/dapi-volume.yaml" %} In the configuration file, you can see that the Pod has a `downwardAPI` Volume, and the Container mounts the Volume at `/etc`. @@ -152,7 +153,7 @@ The preceding exercise, you stored Pod fields in a DownwardAPIVolumeFile. In this next exercise, you store Container fields. Here is the configuration file for a Pod that has one Container: -{% include code.html language="yaml" file="dapi-volume-resources.yaml" ghlink="/docs/tasks/configure-pod-container/dapi-volume-resources.yaml" %} +{% include code.html language="yaml" file="dapi-volume-resources.yaml" ghlink="/docs/tasks/inject-data-application/dapi-volume-resources.yaml" %} In the configuration file, you can see that the Pod has a `downwardAPI` Volume, and the Container mounts the Volume at `/etc`.