Allow more configuration of celery liveness probe

This commit is contained in:
David Burke 2023-05-19 10:40:39 -04:00
parent 466648631f
commit 3099e678fc
2 changed files with 11 additions and 13 deletions

View file

@ -97,13 +97,15 @@ 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"
livenessProbe: {}
# initialDelaySeconds: 10
# periodSeconds: 60
# timeoutSeconds: 30
# exec:
# command:
# - "bash"
# - "-c"
# - "celery -A django inspect ping -d celery@$HOSTNAME | grep -q OK"
resources:
limits:
cpu: 900m