Class PortConfig


  • public class PortConfig
    extends Object
    • 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.
    • Constructor Detail

      • PortConfig

        public PortConfig()