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). The project was originally started as zalando-incubator/kopf in March 2019, and then forked as nolar/kopf in August 2020: but it is the same codebase, the same packages, the same developer(s). A full-featured operator in just 2 files: a Dockerfile + a Python file (*). Handling functions registered via decorators with a declarative approach. No infrastructure boilerplate code with K8s API communication. Both sync and async handlers, with sync ones being threaded under the hood. Detailed documentation with examples.

Features

  • Simple, but powerful
  • Intuitive mapping of Python concepts to Kubernetes concepts and back
  • Support anything that exists in K8s
  • All the ways of handling all that a developer can wish for
  • Eventual consistency of handling
  • Awareness of other Kopf-based operators

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Kubernetes Operator Pythonic Framework

Kubernetes Operator Pythonic Framework Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Kubernetes Operator Pythonic Framework!

Additional Project Details

Programming Language

Python

Related Categories

Python Frameworks

Registered

2022-11-28