nolar/kopf
A Python framework to write Kubernetes operators in just a few lines of code observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 85
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 2207
- days_rel: 91
- days_push: 91
- n_releases_24m: 24
Adoption not part of the score
2632 stars · 198 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Kopf is a Python framework and library for building Kubernetes operators with minimal boilerplate, using decorator-based handlers for custom and built-in resources. It maps Kubernetes concepts to Pythonic constructs, handling API communication, status updates, and event logging automatically.
Use cases
- write a kubernetes operator in python
- automate management of custom kubernetes resources
- react to pod or namespace events with custom logic
- build a kubernetes admission webhook
- sync external systems with kubernetes resource state
- implement domain logic on top of k8s custom resources
When to choose
- you want to build Kubernetes operators quickly in Python with minimal boilerplate
- you need both sync and async handlers for resource events
- you want a stable, production-ready operator framework with semantic v1 guarantees
When to avoid
- you need a framework with active development of major new features
- your team standardizes on Go for Kubernetes controllers
- you require cutting-edge operator capabilities beyond what Kopf expresses
Facets
framework · maturity maintenance
web-framework middleware workflow-automation developer-tools cloud-computing infrastructure-as-code python cloud self-hosted kubernetes-operator asyncio custom-resources admission-webhook controller declarative-handlers devops containers automation kubernetes docker
2 sources
- readme: https://github.com/nolar/kopf · fetched 2026-08-28 · 23c68a495242
- registry_pypi: https://pypi.org/pypi/kopf/json · fetched 2026-08-29 · 75736e534b42
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nolar/kopf | main | 89 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem