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

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Kopf

Kopf Web Site

You Might Also Like
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

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!

Additional Project Details

Programming Language

Python

Related Categories

Python Frameworks

Registered

2024-04-01