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_CONTAINERS
ENRICH_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, getReadinessProbe
enrich, getConfig, getConfig, getConfiguration, getContext, getImagePullPolicy, getImages, getLog, getName, getOpenshiftDeployTimeoutInSeconds, getProcessingInstructionViaKey, getRawConfig, getReplicaCount, getValueFromConfig, getValueFromConfig, hasConfig, hasImageConfiguration, isOpenShiftMode, setProcessingInstruction, useDeploymentforOpenShift
public static final String ERROR_MESSAGE
public VertxHealthCheckEnricher(MavenEnricherContext buildContext)
protected io.fabric8.kubernetes.api.model.Probe getReadinessProbe()
AbstractHealthCheckEnricher
getReadinessProbe
in class AbstractHealthCheckEnricher
protected io.fabric8.kubernetes.api.model.Probe getLivenessProbe()
AbstractHealthCheckEnricher
getLivenessProbe
in class AbstractHealthCheckEnricher
Copyright © 2021. All rights reserved.