Adjust broken link in service.md
This commit is contained in:
parent
457fd23848
commit
a225c841f0
|
@ -428,7 +428,7 @@ variables and DNS.
|
||||||
|
|
||||||
When a Pod is run on a Node, the kubelet adds a set of environment variables
|
When a Pod is run on a Node, the kubelet adds a set of environment variables
|
||||||
for each active Service. It supports both [Docker links
|
for each active Service. It supports both [Docker links
|
||||||
compatible](https://docs.docker.com/userguide/dockerlinks/) variables (see [makeLinkVariables](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/envvars/envvars.go#L72))
|
compatible](https://docs.docker.com/userguide/dockerlinks/) variables (see [makeLinkVariables](https://github.com/kubernetes/kubernetes/blob/dd2d12f6dc0e654c15d5db57a5f9f6ba61192726/pkg/kubelet/envvars/envvars.go#L72))
|
||||||
and simpler `{SVCNAME}_SERVICE_HOST` and `{SVCNAME}_SERVICE_PORT` variables,
|
and simpler `{SVCNAME}_SERVICE_HOST` and `{SVCNAME}_SERVICE_PORT` variables,
|
||||||
where the Service name is upper-cased and dashes are converted to underscores.
|
where the Service name is upper-cased and dashes are converted to underscores.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue