From 33019eca7c5e135b60fafff15a401ddb3d1ff899 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Wed, 15 Mar 2017 16:08:22 -0700 Subject: [PATCH] Tweak docs to note that a `port` will wire up both a TCP and UDP port. --- website/source/docs/job-specification/network.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/job-specification/network.html.md b/website/source/docs/job-specification/network.html.md index 64c96d38f..cff0f76e0 100644 --- a/website/source/docs/job-specification/network.html.md +++ b/website/source/docs/job-specification/network.html.md @@ -54,12 +54,12 @@ job "docs" { - `mbits` `(int: 10)` - Specifies the bandwidth required in MBits. -- `port` ([Port](#port-parameters): nil) - Specifies a port +- `port` ([Port](#port-parameters): nil) - Specifies a TCP/UDP port allocation and can be used to specify both dynamic ports and reserved ports. ### `port` Parameters -- `static` `(int: nil)` - Specifies the static port to allocate. If omitted, a dynamic port is chosen. We **do not recommend** using static ports, except +- `static` `(int: nil)` - Specifies the static TCP/UDP port to allocate. If omitted, a dynamic port is chosen. We **do not recommend** using static ports, except for `system` or specialized jobs like load balancers. The label assigned to the port is used to identify the port in service