Package io.quarkus.kubernetes.deployment
Class PortConfig
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.PortConfig
-
public class PortConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description OptionalIntcontainerPortThe port number.OptionalInthostPortThe host port.OptionalIntnodePortThe nodePort to which this port should be mapped to.Optional<String>pathThe application path (refers to web application path).io.dekorate.kubernetes.annotation.ProtocolprotocolThe protocol.
-
Constructor Summary
Constructors Constructor Description PortConfig()
-
-
-
Field Detail
-
containerPort
@ConfigItem public OptionalInt containerPort
The port number. Refers to the container port.
-
hostPort
@ConfigItem public OptionalInt hostPort
The host port.
-
path
@ConfigItem(defaultValue="/") public Optional<String> path
The application path (refers to web application path).
-
protocol
@ConfigItem(defaultValue="TCP") public io.dekorate.kubernetes.annotation.Protocol protocol
The protocol.
-
nodePort
public OptionalInt nodePort
The nodePort to which this port should be mapped to. This only takes affect when the serviceType is set to node-port.
-
-