File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
content/en/docs/concepts/services-networking Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -866,10 +866,7 @@ finding a Service: environment variables and DNS.
866
866
When a Pod is run on a Node, the kubelet adds a set of environment variables
867
867
for each active Service. It adds `{SVCNAME}_SERVICE_HOST` and `{SVCNAME}_SERVICE_PORT` variables,
868
868
where the Service name is upper-cased and dashes are converted to underscores.
869
- It also supports variables
870
- (see [makeLinkVariables](https://github.com/kubernetes/kubernetes/blob/dd2d12f6dc0e654c15d5db57a5f9f6ba61192726/pkg/kubelet/envvars/envvars.go#L72))
871
- that are compatible with Docker Engine's
872
- " _[legacy container links](https://docs.docker.com/network/links/)_" feature.
869
+
873
870
874
871
For example, the Service `redis-primary` which exposes TCP port 6379 and has been
875
872
allocated cluster IP address 10.0.0.11, produces the following environment
You can’t perform that action at this time.
0 commit comments