public class VertxHealthCheckEnricher extends AbstractHealthCheckEnricher
It builds a liveness probe and a readiness probe using:
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
ENRICH_ALL_CONTAINERS, ENRICH_CONTAINERSENRICH_ALL_WITH_IMAGE_TRIGGERS, enricherContext, FABRIC8_GENERATED_CONTAINERS, GENERATE_ROUTE, IMAGE_CHANGE_TRIGGERS, log, NEED_IMAGECHANGE_TRIGGERS, OPENSHIFT_DEPLOY_TIMEOUT_SECONDS, OPENSHIFT_ENABLE_AUTOMATIC_TRIGGER, OPENSHIFT_TRIM_IMAGE_IN_CONTAINER_SPEC, SIDECAR| Constructor and Description |
|---|
VertxHealthCheckEnricher(MavenEnricherContext buildContext) |
| Modifier and Type | Method and Description |
|---|---|
protected io.fabric8.kubernetes.api.model.Probe |
getLivenessProbe()
Override this method to create a generic liveness probe.
|
protected io.fabric8.kubernetes.api.model.Probe |
getReadinessProbe()
Override this method to create a generic readiness probe.
|
checkIfHealthChecksDisabled, create, getContainersToEnrich, getLivenessProbe, getReadinessProbeenrich, getConfig, getConfig, getConfiguration, getContext, getImagePullPolicy, getImages, getLog, getName, getOpenshiftDeployTimeoutInSeconds, getProcessingInstructionViaKey, getRawConfig, getReplicaCount, getValueFromConfig, getValueFromConfig, hasConfig, hasImageConfiguration, isOpenShiftMode, setProcessingInstruction, useDeploymentforOpenShiftpublic static final String ERROR_MESSAGE
public VertxHealthCheckEnricher(MavenEnricherContext buildContext)
protected io.fabric8.kubernetes.api.model.Probe getReadinessProbe()
AbstractHealthCheckEnrichergetReadinessProbe in class AbstractHealthCheckEnricherprotected io.fabric8.kubernetes.api.model.Probe getLivenessProbe()
AbstractHealthCheckEnrichergetLivenessProbe in class AbstractHealthCheckEnricherCopyright © 2020. All rights reserved.