mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Tweak docs to note that a port will wire up both a TCP and UDP port.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user