Optional
externalWhether the port should be exposed externally. Defaults to false
.
The incoming port where the service exposes the endpoint.
Optional
protocolThe protocol to use for exposing the service:
tcp
: Expose TCP externaly and to the container.udp
: Expose UDP externally and to the container.http
: Expose HTTP externally and to the container.https
: Expose HTTPS externally and HTTP to the container.Optional
targetThe target port on the backing container. Defaults to the value of [port].
Generated using TypeDoc
ContainerPort represents the information about how to expose a container port on a [Service].