I want to set-up liveness and readiness probes for Celery worker pods. Since these worker pods doesn't have a specific port associated to them I am finding it difficult. Main Django app nginx server was easier to set-up.
I am very new to k8s so not much familiar to the different ways to do it.
liveness probe for celery worker: This command only works when remote control is enabled.
When a celery worker uses a solo pool, healthcheck waits for the task to finish. In this case, you must increase the timeout waiting for a response.
so in yaml:
Of course you have to change the worker name and timeout to your own values