Package io.quarkus.kubernetes.deployment
Class KubernetesDeploy
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.KubernetesDeploy
-
public class KubernetesDeploy extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static KubernetesDeployINSTANCE
-
-
-
Field Detail
-
INSTANCE
public static KubernetesDeploy INSTANCE
-
-
Method Detail
-
check
public boolean check()
- Returns:
trueiff @{code quarkus.kubernetes.deploy=true} AND the target Kubernetes API server is reachable It follows that this can only returnfalseif the if @{code quarkus.kubernetes.deploy=false}- Throws:
RuntimeException- if communication to the Kubernetes API server errored
-
checkSilently
public boolean checkSilently()
- Returns:
trueiff @{code quarkus.kubernetes.deploy=true} AND the target Kubernetes API server is reachable Never throws an exception even in the face of a communication error with the API server, just returnsfalsein that case
-
-