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"
|
||||
memory: 2Gi
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /server/health
|
||||
tcpSocket:
|
||||
port: 8055
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /server/health
|
||||
path: /
|
||||
port: 8055
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue