Celery worker example

Celery has been in development and use since 2009, long before Kubernetes existed. It was written expecting to be deployed on multiple machines. This translates reasonably well to containers, which our example will illustrate. You can get more details about Celery at: http://docs.celeryproject.org/en/latest/.

In this example, we will set up a service with a deployment of RabbitMQ and a separate deployment of our own container, celery-worker, to process jobs from that queue:

The deployments and source code for this example are available on GitHub at https://github.com/kubernetes-for-developers/kfd-celery/. You can get ...

Get Kubernetes for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.