Add PortConfig.PublishMode to API documentation
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
d65ab869e8
commit
fd90733972
1 changed files with 18 additions and 0 deletions
|
@ -3042,6 +3042,24 @@ definitions:
|
|||
PublishedPort:
|
||||
description: "The port on the swarm hosts."
|
||||
type: "integer"
|
||||
PublishMode:
|
||||
description: |
|
||||
The mode in which port is published.
|
||||
|
||||
<p><br /></p>
|
||||
|
||||
- "ingress" makes the target port accessible on on every node,
|
||||
regardless of whether there is a task for the service running on
|
||||
that node or not.
|
||||
- "host" bypasses the routing mesh and publish the port directly on
|
||||
the swarm node where that service is running.
|
||||
|
||||
type: "string"
|
||||
enum:
|
||||
- "ingress"
|
||||
- "host"
|
||||
default: "ingress"
|
||||
example: "ingress"
|
||||
|
||||
EndpointSpec:
|
||||
description: "Properties that can be configured to access and load balance a service."
|
||||
|
|
Loading…
Reference in a new issue