Tweak docs to note that a `port` will wire up both a TCP and UDP port.
This commit is contained in:
parent
9bfeac3c1d
commit
33019eca7c
|
@ -54,12 +54,12 @@ job "docs" {
|
|||
|
||||
- `mbits` `(int: 10)` - Specifies the bandwidth required in MBits.
|
||||
|
||||
- `port` <code>([Port](#port-parameters): nil)</code> - Specifies a port
|
||||
- `port` <code>([Port](#port-parameters): nil)</code> - 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
|
||||
|
|
Loading…
Reference in New Issue