Package io.quarkus.kubernetes.deployment
Class KubernetesConfigUtil
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.KubernetesConfigUtil
-
public class KubernetesConfigUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringMANAGEMENT_PORT_NAMEIt should be the same name as in VertxHttpProcessor.kubernetesForManagement.
-
Constructor Summary
Constructors Constructor Description KubernetesConfigUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static List<String>getConfiguratedDeploymentTargets()Deprecated, for removal: This API element is subject to removal in a future version.UsegetConfiguredDeploymentTargets()insteadstatic Optional<String>getConfiguredDeploymentTarget()Get the user configured deployment target, if any.static List<String>getConfiguredDeploymentTargets()Get the configured deployment target list as determined by: the value ofquarkus.kubernetes.deployment-target=<deployment-target>the presence ofquarkus.<deployment-target>.deploy=truestatic Optional<String>getExplicitlyConfiguredDeploymentTarget()Get the explicitly configured deployment target, if any.static List<String>getExplicitlyConfiguredDeploymentTargets()The explicitly configured deployment target list.static List<String>getExplictilyDeploymentTargets()Deprecated, for removal: This API element is subject to removal in a future version.UsegetExplicitlyConfiguredDeploymentTargets()insteadstatic booleanisDeploymentEnabled()static booleanmanagementPortIsEnabled()static Map<String,Object>toMap(PlatformConfiguration... platformConfigurations)
-
-
-
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
-
-
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>
-
getExplictilyDeploymentTargets
@Deprecated(forRemoval=true) public static List<String> getExplictilyDeploymentTargets()
Deprecated, for removal: This API element is subject to removal in a future version.UsegetExplicitlyConfiguredDeploymentTargets()instead
-
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:- the value of
quarkus.kubernetes.deployment-target=<deployment-target> - the presence of
quarkus.<deployment-target>.deploy=true
- the value of
-
getConfiguratedDeploymentTargets
@Deprecated(forRemoval=true) public static List<String> getConfiguratedDeploymentTargets()
Deprecated, for removal: This API element is subject to removal in a future version.UsegetConfiguredDeploymentTargets()instead
-
getConfiguredDeploymentTargets
public static List<String> getConfiguredDeploymentTargets()
Get the configured deployment target list as determined by:- the value of
quarkus.kubernetes.deployment-target=<deployment-target> - the presence of
quarkus.<deployment-target>.deploy=true
- the value of
-
isDeploymentEnabled
public static boolean isDeploymentEnabled()
-
toMap
public static Map<String,Object> toMap(PlatformConfiguration... platformConfigurations)
-
managementPortIsEnabled
public static boolean managementPortIsEnabled()
-
-