Add optional celery liveness check
This commit is contained in:
parent
01748f59da
commit
ab1ff087d2
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue