public class VertxHealthCheckEnricher extends AbstractHealthCheckEnricher
It builds a liveness probe and a readiness probe using:
Modifier and Type | Class and Description |
---|---|
protected static class |
VertxHealthCheckEnricher.Config |
Modifier and Type | Field and Description |
---|---|
static String |
VERTX_HEALTH_PATH
The project property to configure the Vert.x health check path.
|
static String |
VERTX_HEALTH_PORT
The project property to configure the Vert.x health check port.
|
static String |
VERTX_HEALTH_SCHEME
The project property to configure the Vert.x health check scheme.
|
static String |
VERTX_READINESS_HEALTH_PATH
The project property to configure the Vert.x readiness health check path.
|
log
Constructor and Description |
---|
VertxHealthCheckEnricher(EnricherContext buildContext) |
Modifier and Type | Method and Description |
---|---|
protected io.fabric8.kubernetes.api.model.Probe |
getLivenessProbe() |
protected io.fabric8.kubernetes.api.model.Probe |
getReadinessProbe() |
addMissingResources, getLivenessProbe, getReadinessProbe
adapt, getAnnotations, getConfig, getConfig, getContext, getImages, getLabels, getLog, getName, getProject, getRawConfig, getSelector, hasConfig, hasImageConfiguration, isOpenShiftMode
public static final String VERTX_HEALTH_SCHEME
public static final String VERTX_HEALTH_PATH
public static final String VERTX_READINESS_HEALTH_PATH
public static final String VERTX_HEALTH_PORT
public VertxHealthCheckEnricher(EnricherContext buildContext)
protected io.fabric8.kubernetes.api.model.Probe getReadinessProbe()
getReadinessProbe
in class AbstractHealthCheckEnricher
protected io.fabric8.kubernetes.api.model.Probe getLivenessProbe()
getLivenessProbe
in class AbstractHealthCheckEnricher
Copyright © 2019. All rights reserved.