Fix Directus health check 403 errors (DEV-376)
Changed liveness probe from HTTP /server/health to TCP socket check and readiness probe to use root path instead. The /server/health endpoint in Directus v12+ requires authentication by default, causing 403 responses that triggered pod restarts. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
38ed8316dd
commit
1f81d61642
1 changed files with 2 additions and 3 deletions
|
|
@ -133,15 +133,14 @@ spec:
|
||||||
cpu: "1"
|
cpu: "1"
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /server/health
|
|
||||||
port: 8055
|
port: 8055
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 60
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /server/health
|
path: /
|
||||||
port: 8055
|
port: 8055
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue