🔧(helm) add celery deployment
We need to configure a deployment dedicated to celery. It is a copy of the backend one with modification made where it is specific to celery
This commit is contained in:
@@ -320,6 +320,34 @@ backend:
|
||||
mount_path: /app/configuration/theme/
|
||||
|
||||
|
||||
## @param backend.celery.replicas Amount of celery replicas
|
||||
## @param backend.celery.command Override the celery container command
|
||||
## @param backend.celery.args Override the celery container args
|
||||
## @param backend.celery.resources Resource requirements for the celery container
|
||||
## @param backend.celery.probes.liveness.exec.command Override the celery container liveness probe command
|
||||
## @param backend.celery.probes.liveness.initialDelaySeconds Initial delay for the celery container liveness probe
|
||||
## @param backend.celery.probes.liveness.timeoutSeconds Timeout for the celery container liveness probe
|
||||
## @param backend.celery.probes.readiness.exec.command Override the celery container readiness probe command
|
||||
## @param backend.celery.probes.readiness.initialDelaySeconds Initial delay for the celery container readiness probe
|
||||
## @param backend.celery.probes.readiness.timeoutSeconds Timeout for the celery container readiness probe
|
||||
celery:
|
||||
replicas: 1
|
||||
command: []
|
||||
args: ["celery", "-A", "impress.celery_app", "worker", "-l", "INFO", "-n", "impress@%h"]
|
||||
resources: {}
|
||||
probes:
|
||||
liveness:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "celery -A impress.celery_app inspect ping -d impress@$HOSTNAME"]
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 5
|
||||
readiness:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "celery -A impress.celery_app inspect ping -d impress@$HOSTNAME"]
|
||||
initialDelaySeconds: 15
|
||||
timeoutSeconds: 5
|
||||
|
||||
|
||||
|
||||
## @section frontend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user