🐛(helm) reverse liveness and readiness for backend deployment

The liveness and readiness are reversed. The liveness was using the
heartbeat process that is cheking all django checks and the database
connection.
This commit is contained in:
Manuel Raynaud
2026-02-13 09:51:41 +01:00
parent 2cc0d71b89
commit 49871c45b1
2 changed files with 40 additions and 27 deletions

View File

@@ -24,6 +24,7 @@ and this project adheres to
- 🐛(frontend) fix broadcast store sync #1846
- 🐛(helm) use celery resources instead of backend resources
- 🐛(helm) reverse liveness and readiness for backend deployment
## [v4.5.0] - 2026-01-28

View File

@@ -133,7 +133,6 @@ ingressCollaborationApi:
annotations:
nginx.ingress.kubernetes.io/upstream-hash-by: $arg_room
## @param ingressAdmin.enabled whether to enable the Ingress or not
## @param ingressAdmin.className IngressClass to use for the Ingress
## @param ingressAdmin.host Host for the Ingress
@@ -197,11 +196,9 @@ serviceMedia:
port: 9000
annotations: {}
## @section backend
backend:
## @param backend.command Override the backend container command
command: []
@@ -336,10 +333,10 @@ backend:
## @param backend.probes.readiness.initialDelaySeconds [nullable] Configure timeout for backend readiness probe
probes:
liveness:
path: /__heartbeat__
path: /__lbheartbeat__
initialDelaySeconds: 10
readiness:
path: /__lbheartbeat__
path: /__heartbeat__
initialDelaySeconds: 10
## @param backend.resources Resource requirements for the backend container
@@ -381,7 +378,6 @@ backend:
file_content: ""
mount_path: /app/impress/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
@@ -395,22 +391,40 @@ backend:
celery:
replicas: 1
command: []
args: ["celery", "-A", "impress.celery_app", "worker", "-l", "INFO", "-n", "impress@%h"]
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"]
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"]
command:
[
"/bin/sh",
"-c",
"celery -A impress.celery_app inspect ping -d impress@$HOSTNAME",
]
initialDelaySeconds: 15
timeoutSeconds: 5
## @section frontend
frontend:
@@ -522,7 +536,6 @@ frontend:
## @section posthog
posthog:
## @param posthog.ingress.enabled Enable or disable the ingress resource creation
## @param posthog.ingress.className Kubernetes ingress class name to use (e.g., nginx, traefik)
## @param posthog.ingress.host Primary hostname for the ingress resource
@@ -589,7 +602,6 @@ posthog:
port: 443
annotations: {}
## @section yProvider
yProvider: