feat(api): add health/live and health/ready probe endpoints (#11200)

This commit is contained in:
Adrián Peña
2026-05-18 16:28:36 +02:00
committed by GitHub
parent 5cd7fe4f96
commit 37aa290d1c
13 changed files with 803 additions and 8 deletions
+5 -2
View File
@@ -590,13 +590,16 @@ resources: {}
# memory: 128Mi
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
# /health/live succeeds while the process answers; /health/ready also
# checks PostgreSQL, Valkey and Neo4j connectivity and returns 503 when
# any of them is unreachable.
livenessProbe:
httpGet:
path: /
path: /health/live
port: http
readinessProbe:
httpGet:
path: /
path: /health/ready
port: http
#This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
+6 -3
View File
@@ -270,20 +270,23 @@ api:
# 3m30s to setup DB
# startupProbe:
# httpGet:
# path: /api/v1/docs
# path: /health/live
# port: http
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
# /health/live succeeds while the process answers; /health/ready also
# checks PostgreSQL, Valkey and Neo4j connectivity and returns 503 when
# any of them is unreachable.
livenessProbe:
failureThreshold: 10
httpGet:
path: /api/v1/docs
path: /health/live
port: http
periodSeconds: 20
readinessProbe:
failureThreshold: 10
httpGet:
path: /api/v1/docs
path: /health/ready
port: http
periodSeconds: 20