feat(server): Add /live & /health endpoints

This commit is contained in:
Chris Coutinho
2025-10-29 10:29:30 +01:00
parent d7a8719d0e
commit 562c102711
4 changed files with 145 additions and 5 deletions
+8 -2
View File
@@ -202,18 +202,24 @@ resources:
memory: 128Mi
# Liveness probe configuration
# Checks if the application process is running
livenessProbe:
tcpSocket:
httpGet:
path: /health/live
port: http
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
# Readiness probe configuration
# Checks if the application is ready to serve traffic
readinessProbe:
tcpSocket:
httpGet:
path: /health/ready
port: http
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3