add readiness and liveness checks to API

This commit is contained in:
Alex Holliday committed 2026-06-29 14:14:42 -07:00
1 parent 35c9618d59
commit a39792cf0b
2 files changed
+33 -1

No files matched your search

+12
View File
@@ -24,6 +24,18 @@ api:
# false: API only schedules, the worker tier processes jobs (requires workers deployed).
# true: API also processes jobs (all-in-one; no separate worker needed).
queuePrimaryProcesses: false
# Liveness/readiness probes hit GET /api/v1/health on the api port (proves the HTTP server is up).
probes:
liveness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readiness:
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
ingress:
enabled: true
host: change_me