Add optional celery liveness check

This commit is contained in:
David Burke 2023-04-20 20:34:16 -04:00
parent 01748f59da
commit ab1ff087d2
2 changed files with 15 additions and 0 deletions

View file

@ -97,6 +97,13 @@ worker:
maxReplicas: 100
targetCPUUtilizationPercentage: 90
# targetMemoryUtilizationPercentage: 80
livenessProbe:
enabled: false
initialDelaySeconds: 30
periodSeconds: 300
timeoutSeconds: 30
command:
- "celery -A django inspect ping -d celery@$HOSTNAME"
resources:
limits:
cpu: 900m