Add celery liveness check
This commit is contained in:
parent
f384c6c498
commit
fb65f5f275
7 changed files with 12 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue