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:
parent
ec7e38a698
commit
b956fb0803
1 changed files with 8 additions and 0 deletions
|
|
@ -40,6 +40,14 @@ spec:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 20
|
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:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue