Class KubernetesConfigUtil


  • public class KubernetesConfigUtil
    extends Object
    • Field Detail

      • MANAGEMENT_PORT_NAME

        public static final String MANAGEMENT_PORT_NAME
        It should be the same name as in VertxHttpProcessor.kubernetesForManagement.
        See Also:
        Constant Field Values
    • Constructor Detail

      • KubernetesConfigUtil

        public KubernetesConfigUtil()
    • Method Detail

      • getExplicitlyConfiguredDeploymentTarget

        public static Optional<String> getExplicitlyConfiguredDeploymentTarget()
        Get the explicitly configured deployment target, if any. The explicit deployment target is determined using: quarkus.kubernetes.deployment-target=<deployment-target>
      • getExplicitlyConfiguredDeploymentTargets

        public static List<String> getExplicitlyConfiguredDeploymentTargets()
        The explicitly configured deployment target list. The configured deployment targets are determined using: quarkus.kubernetes.deployment-target=<deployment-target>
      • getConfiguredDeploymentTarget

        public static Optional<String> getConfiguredDeploymentTarget()
        Get the user configured deployment target, if any. The configured deployment target is determined using:
        1. the value of quarkus.kubernetes.deployment-target=<deployment-target>
        2. the presence of quarkus.<deployment-target>.deploy=true
      • getConfiguredDeploymentTargets

        public static List<String> getConfiguredDeploymentTargets()
        Get the configured deployment target list as determined by:
        1. the value of quarkus.kubernetes.deployment-target=<deployment-target>
        2. the presence of quarkus.<deployment-target>.deploy=true
      • isDeploymentEnabled

        public static boolean isDeploymentEnabled()
      • managementPortIsEnabled

        public static boolean managementPortIsEnabled()