🔧(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:
Manuel Raynaud
2025-05-12 19:23:48 +02:00
parent 5848f43cb4
commit 4118d79525
6 changed files with 203 additions and 1 deletions

View File

@@ -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