From 89d90304c6e53af1a34dcf49f76b7a05e79f87bf Mon Sep 17 00:00:00 2001 From: Michael Washer Date: Sun, 21 Feb 2021 17:36:37 +1300 Subject: [PATCH] Update container-environment.md with fix about service environment variables not being cluster-wide --- content/en/docs/concepts/containers/container-environment.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/concepts/containers/container-environment.md b/content/en/docs/concepts/containers/container-environment.md index 7ec28e97b4..8173cc9d8d 100644 --- a/content/en/docs/concepts/containers/container-environment.md +++ b/content/en/docs/concepts/containers/container-environment.md @@ -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 master services. Those environment variables match the syntax of Docker links. For a service named *foo* that maps to a Container named *bar*,