Skip to content

Commit

Permalink
Merge pull request #44274 from rohan-kapse/patch-7
Browse files Browse the repository at this point in the history
Remove duplicate references to Docker Engine legacy container feature in "Service" page
  • Loading branch information
k8s-ci-robot authored Dec 10, 2023
2 parents f5ad2c5 + 83b1334 commit 2448333
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions content/en/docs/concepts/services-networking/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -866,10 +866,7 @@ finding a Service: environment variables and DNS.
When a Pod is run on a Node, the kubelet adds a set of environment variables
for each active Service. It adds `{SVCNAME}_SERVICE_HOST` and `{SVCNAME}_SERVICE_PORT` variables,
where the Service name is upper-cased and dashes are converted to underscores.
It also supports variables
(see [makeLinkVariables](https://github.com/kubernetes/kubernetes/blob/dd2d12f6dc0e654c15d5db57a5f9f6ba61192726/pkg/kubelet/envvars/envvars.go#L72))
that are compatible with Docker Engine's
"_[legacy container links](https://docs.docker.com/network/links/)_" feature.


For example, the Service `redis-primary` which exposes TCP port 6379 and has been
allocated cluster IP address 10.0.0.11, produces the following environment
Expand Down

0 comments on commit 2448333

Please sign in to comment.