Class PortConfig

java.lang.Object
io.quarkus.kubernetes.deployment.PortConfig

public class PortConfig extends Object
  • Field Details

    • 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.
    • tls

      @ConfigItem(defaultValue="false") public boolean tls
      If enabled, the port will be configured to use the schema HTTPS.
  • Constructor Details

    • PortConfig

      public PortConfig()