Package io.quarkus.kubernetes.deployment
Interface PortConfig
public interface PortConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe port number.hostPort()The host port.nodePort()The nodePort to which this port should be mapped to.path()The application path (refers to web application path).io.dekorate.kubernetes.annotation.Protocolprotocol()The protocol.booleantls()If enabled, the port will be configured to use the schema HTTPS.
-
Method Details
-
containerPort
OptionalInt containerPort()The port number. Refers to the container port. -
hostPort
OptionalInt hostPort()The host port. -
path
The application path (refers to web application path). -
protocol
@WithDefault("TCP") io.dekorate.kubernetes.annotation.Protocol protocol()The protocol. -
nodePort
OptionalInt nodePort()The nodePort to which this port should be mapped to. This only takes affect when the serviceType is set to node-port. -
tls
@WithDefault("false") boolean tls()If enabled, the port will be configured to use the schema HTTPS.
-