fix(bookstack): point probes at /status instead of / (DEV-528)
BookStack's `/` returns 302 → /login, which caused Kubernetes to raise ProbeWarning events on the readiness (and liveness) probes. `/status` is BookStack's built-in monitoring endpoint: it returns 200 without a redirect and is designed for health checks. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
c9a60a56c3
commit
8a80068b95
1 changed files with 2 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ spec:
|
||||||
cpu: "1000m"
|
cpu: "1000m"
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /status
|
||||||
port: 80
|
port: 80
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 60
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|
@ -208,7 +208,7 @@ spec:
|
||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /status
|
||||||
port: 80
|
port: 80
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue