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

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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