Skip to content

Conversation

@honghainguyen777
Copy link

This update prevents worker pods from restart loops caused by Celery ping timeouts.

  • Liveness probe: replaced the Celery ping with a lightweight command (rm -f /tmp/health.txt) to only check container health.

  • Readiness probe: added an optional Celery app.control.ping() check with configurable timeout (celeryTimeoutSeconds).

The liveness probe now ensures the container is alive, while readiness reflects broker connectivity - avoiding restarts when Celery or the broker is slow (increase celeryTimeoutSeconds to allow the process to complete)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant