Celery-Kubernetes-Operator
An operator to manage celery clusters on Kubernetes (Work in Progress) (by celery)
kopf
A Python framework to write Kubernetes operators in just a few lines of code (by nolar)
Our great sponsors
Celery-Kubernetes-Operator | kopf | |
---|---|---|
1 | 6 | |
79 | 1,951 | |
- | - | |
3.6 | 7.8 | |
5 months ago | 16 days ago | |
Python | Python | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Celery-Kubernetes-Operator
Posts with mentions or reviews of Celery-Kubernetes-Operator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-15.
-
Help: from Docker-Compose to Production (EC2, ECS, EKR)
The take-out from that course is: don't deploy anything stateful on Kubernetes in production, period. Even disregarding that, don't deploy anything stateful that doesn't come in a form of an operator. For celery, https://github.com/celery/Celery-Kubernetes-Operator is a WIP, so obviously not suitable for anything.
kopf
Posts with mentions or reviews of kopf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-18.
- A Kubernetes Operator in Rust
- I wrote a kubernetes operator for “locust”, should I open source it
-
Automate All the Boring Kubernetes Operations with Python
If you're looking for more examples beyond what was shown and referenced above, I recommend exploring other popular tools that make use Python Kubernetes client, such kopf - the library for creating Kubernetes operators. I also find it very useful to take a look at tests of the library itself, as it showcases its intended usage such this client test suite.
-
is it possible to have components of a specific namespace run on specific nodes ?
Depending on how you want to configure your selecting logic, it can be solved by mutating admission webhooks for the pods. For example, in Kopf, the simplest approach would be:
-
Kopf 1.31 now supports admission webhooks. Feedback is welcome!
Hello. Kopf (a framework to write Kubernetes operators in Python) 1.31 is released and has finally got admission webhooks — https://github.com/nolar/kopf/releases/tag/1.31.0. I would appreciate some feedback from experienced operator developers on how easy or hard it is to write webhooks now, and what is missing and makes it inconvenient. The docs: https://kopf.readthedocs.io/en/stable/admission/ For a brief preview, it looks like this:
-
lightkube 0.6.0 - python kubernetes client
Correct, using generic resources with Client.watch should work. In general to create more complex operators I would recommend to check out kopf.
What are some alternatives?
When comparing Celery-Kubernetes-Operator and kopf you can also consider the following projects:
flower - Real-time monitor and web admin for Celery distributed task queue
awx-operator - An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. 🤖