EndpointSpec

constructor(mode: EndpointSpec.Mode? = Mode.VIP, ports: List<EndpointPortConfig>? = null)

Parameters

mode

The mode of resolution to use for internal load balancing between tasks.

ports

List of exposed ports that this service is accessible on from the outside. Ports can only be provided if vip resolution mode is used.