Initial docs for envFrom ConfigMap
This commit is contained in:
committed by
Andrew Chen
parent
ae4bc86dae
commit
15e529958e
@@ -22,8 +22,8 @@ in a Kubernetes Pod.
|
||||
## Defining an environment variable for a container
|
||||
|
||||
When you create a Pod, you can set environment variables for the containers
|
||||
that run in the Pod. To set environment variables, include the `env` field in
|
||||
the configuration file.
|
||||
that run in the Pod. To set environment variables, include the `env` or
|
||||
`envFrom` field in the configuration file.
|
||||
|
||||
In this exercise, you create a Pod that runs one container. The configuration
|
||||
file for the Pod defines an environment variable with name `DEMO_GREETING` and
|
||||
|
||||
Reference in New Issue
Block a user