Kubernetes health probes
Last updated
This page describes how to configure Kubernetes liveness, readiness, and startup probes for Valtimo.
By default the application reports itself as ready before startup has fully completed. Follow these steps so Kubernetes only routes traffic to a pod once it has finished starting up.
Enable the health probes
For a custom application, enable the management health probes (also enabled automatically when running in Kubernetes):
management:
endpoint:
health:
probes:
enabled: trueAdd the bootstrap check to the readiness and startup groups
For a custom application add:
management:
endpoint:
health:
group:
readiness:
include: readinessState,bootstrap
startup:
include: readinessState,bootstrapPoint the Kubernetes probes at the health groups
In your deployment (for example your Helm chart), set:
readinessProbe β /management/health/readiness
startupProbe β /management/health/startup
Leave the livenessProbe unchanged.
Last updated