Kopf —Kubernetes Operator Pythonic Framework, is a framework and a library to make Kubernetes operator's development easier, just in a few lines of Python code. The main goal is to bring the Domain-Driven Design to the infrastructure level, with Kubernetes being an orchestrator/database of the domain objects (custom resources), and the operators containing the domain logic (with no or minimal infrastructure logic).
Features
- A full-featured operator in just 2 files: Dockerfile + a Python module
- Implicit object's status updates, as returned from the Python functions
- Multiple creation/update/deletion handlers to track the object handling process
- Update handlers for the selected fields with automatic value diffs
- Dynamically generated sub-handlers using the same handling tracking feature
- Retries of the handlers in case of failures or exceptions
- Easy object hierarchy building with the labels/naming propagation
Categories
FrameworksLicense
MIT LicenseFollow Kopf
You Might Also Like
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Kopf!