From b956fb08038686ec1c40e8c6938b7195e4230121 Mon Sep 17 00:00:00 2001 From: un-oeil Date: Tue, 13 Oct 2026 09:02:25 +0200 Subject: [PATCH] wikijs: add liveness probe Wiki.js hangs instead of exiting when Postgres is unavailable at startup. Co-Authored-By: Claude Opus 5.5 --- apps/wikijs/deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/wikijs/deployment.yaml b/apps/wikijs/deployment.yaml index 2d53592..a1e0122 100644 --- a/apps/wikijs/deployment.yaml +++ b/apps/wikijs/deployment.yaml @@ -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