mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
21 lines
520 B
Plaintext
21 lines
520 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * nodes/nodes-containers-downward-api.adoc
|
|
|
|
[id="nodes-containers-downward-api-container-values_{context}"]
|
|
= Understanding how to consume container values using the downward API
|
|
|
|
You containers can consume API values using environment variables or a volume plug-in.
|
|
Depending on the method you choose, containers can consume:
|
|
|
|
* Pod name
|
|
|
|
* Pod project/namespace
|
|
|
|
* Pod annotations
|
|
|
|
* Pod labels
|
|
|
|
Annotations and labels are available using only a volume plug-in.
|
|
|