Skip to main content

HealthChecks

In Kubernetes or OpenShift, your can add additional configurations to the HealthChecks modifying the values of the readiness and liveness probes.
This pages explains you how.


1. In your manifest repository's main branch, you will find the values.yaml file, it showld be in the following folder structure [environment]/[project]/[application]

2. In the values.yaml file, search for the Additional Customizations section, you will find it like this:


## Additional Customizations #################################################

3. Bellow the section title, add the following configuration and change the values as you need:

  ##  Readness and Liveness probes ##############################################
healthcheck:
# Enable readness probe: true o false
readiness: false
# Path: "[path]"
readinesspath: "/index.html"
# Port: "[Port]"
readinessport: "8080"
# Type: HTTP
readinessscheme: HTTP
# Enable liveness probe: true o false
liveness: false
# Path: "[path]"
livenesspath: "/index.html"
# Port: "[Port]"
livenessport: "8080"
# Type: HTTP
livenessscheme: HTTP
#####

4. Commit and enjoy! ✨