Merge pull request #26652 from MichaelWasher/container-environment

Update container-environment.md with fix about service environment variables not being cluster-wide
pull/26793/head
Kubernetes Prow Robot 2021-03-02 01:13:20 -08:00 committed by GitHub
commit b7454141d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ as are any environment variables specified statically in the Docker image.
### Cluster information
A list of all services that were running when a Container was created is available to that Container as environment variables.
This list is limited to services within the same namespace as the new Container's Pod and Kubernetes control plane services.
Those environment variables match the syntax of Docker links.
For a service named *foo* that maps to a Container named *bar*,