public class SpringBootHealthCheckEnricher extends AbstractHealthCheckEnricher
Modifier and Type | Field and Description |
---|---|
static String |
ENRICHER_NAME |
protected static String[] |
REQUIRED_CLASSES |
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 |
---|
SpringBootHealthCheckEnricher(MavenEnricherContext buildContext) |
Modifier and Type | Method and Description |
---|---|
protected io.fabric8.kubernetes.api.model.Probe |
buildProbe(Properties springBootProperties,
Integer initialDelay,
Integer period,
Integer timeout,
Integer failureTh,
Integer successTh) |
protected io.fabric8.kubernetes.api.model.Probe |
discoverSpringBootHealthCheck(Integer initialDelay,
Integer period,
Integer timeout,
Integer failureTh,
Integer successTh) |
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 ENRICHER_NAME
protected static final String[] REQUIRED_CLASSES
public SpringBootHealthCheckEnricher(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
protected io.fabric8.kubernetes.api.model.Probe discoverSpringBootHealthCheck(Integer initialDelay, Integer period, Integer timeout, Integer failureTh, Integer successTh)
Copyright © 2020. All rights reserved.