Class KubernetesConfigUtil

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

public class KubernetesConfigUtil extends Object
  • Field Details

    • MANAGEMENT_PORT_NAME

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

    • KubernetesConfigUtil

      public KubernetesConfigUtil()
  • Method Details

    • 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>
    • getExplictilyDeploymentTargets

      @Deprecated(forRemoval=true) public static List<String> getExplictilyDeploymentTargets()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • 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
    • getConfiguratedDeploymentTargets

      @Deprecated(forRemoval=true) public static List<String> getConfiguratedDeploymentTargets()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • 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()
    • toMap

      public static Map<String,Object> toMap(PlatformConfiguration... platformConfigurations)
    • managementPortIsEnabled

      public static boolean managementPortIsEnabled()