Add celery liveness check

This commit is contained in:
David Burke 2023-04-20 20:35:17 -04:00
parent f384c6c498
commit fb65f5f275
7 changed files with 12 additions and 5 deletions

View file

@ -91,6 +91,13 @@ worker:
maxReplicas: 10
targetCPU: 100
# targetMemory: 80
livenessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 300
timeoutSeconds: 30
command:
- "celery -A glitchtip inspect ping -d celery@$HOSTNAME"
resources:
limits:
cpu: 900m