Skip to content

Commit 162e393

Browse files
authored
Docs: Clarify external & service port in TCP/UDP services explanation. (#12172)
1 parent 8a020bd commit 162e393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user-guide/exposing-tcp-udp-services.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
While the Kubernetes Ingress resource only officially supports routing external HTTP(s) traffic to services, ingress-nginx can be configured to receive external TCP/UDP traffic from non-HTTP protocols and route them to internal services using TCP/UDP port mappings that are specified within a ConfigMap.
44

55
To support this, the `--tcp-services-configmap` and `--udp-services-configmap` flags can be used to point to an existing config map where the key is the external port to use and the value indicates the service to expose using the format:
6-
`<service port>:<namespace/service name>:[PROXY]:[PROXY]`
6+
`<external port>:<namespace/service name>:<service port/name>:[PROXY]:[PROXY]`
77

88
It is also possible to use a number or the name of the port. The two last fields are optional.
99
Adding `PROXY` in either or both of the two last fields we can use [Proxy Protocol](https://www.nginx.com/resources/admin-guide/proxy-protocol) decoding (listen) and/or encoding (proxy_pass) in a TCP service.

0 commit comments

Comments
 (0)