Initial docs for envFrom ConfigMap

This commit is contained in:
Michael Fraenkel
2016-12-15 12:46:03 -05:00
committed by Andrew Chen
parent ae4bc86dae
commit 15e529958e
2 changed files with 18 additions and 4 deletions
@@ -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