wikijs: add liveness probe

Wiki.js hangs instead of exiting when Postgres is unavailable at startup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
un-oeil 2026-10-13 09:02:25 +02:00
parent ec7e38a698
commit b956fb0803

View file

@ -40,6 +40,14 @@ spec:
path: /healthz
port: http
initialDelaySeconds: 20
# Wiki.js hangs instead of exiting if Postgres is down at startup.
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 60
periodSeconds: 20
failureThreshold: 6
resources:
requests:
cpu: 50m