Merge pull request #32400 from sftim/20220321_document_downward_api_concept

Revise downward API documentation
This commit is contained in:
Kubernetes Prow Robot
2022-06-16 23:38:31 -07:00
committed by GitHub
5 changed files with 255 additions and 150 deletions
+7 -5
View File
@@ -303,15 +303,17 @@ keyed with `log_level`.
### downwardAPI {#downwardapi}
A `downwardAPI` volume makes downward API data available to applications.
It mounts a directory and writes the requested data in plain text files.
A `downwardAPI` volume makes {{< glossary_tooltip term_id="downward-api" text="downward API" >}}
data available to applications. Within the volume, you can find the exposed
data as read-only files in plain text format.
{{< note >}}
A container using the downward API as a [`subPath`](#using-subpath) volume mount will not
receive downward API updates.
A container using the downward API as a [`subPath`](#using-subpath) volume mount does not
receive updates when field values change.
{{< /note >}}
See the [downward API example](/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/) for more details.
See [Expose Pod Information to Containers Through Files](/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/)
to learn more.
### emptyDir {#emptydir}