Skip to content

Commit

Permalink
Mention container environment variables in concepts/pods
Browse files Browse the repository at this point in the history
Mention container environment variables in pods
  • Loading branch information
mrgiles committed Apr 5, 2024
1 parent 1d8cfb0 commit 5270c7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/en/docs/concepts/workloads/pods/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ Each controller for a workload resource uses the `PodTemplate` inside the worklo
object to make actual Pods. The `PodTemplate` is part of the desired state of whatever
workload resource you used to run your app.

When you create a Pod, you can include
[environment variables](/docs/tasks/inject-data-application/define-environment-variable-container/)
in the Pod template for the containers that run in the Pod.

The sample below is a manifest for a simple Job with a `template` that starts one
container. The container in that Pod prints a message then pauses.

Expand Down

0 comments on commit 5270c7a

Please sign in to comment.