kopf

A Python framework to write Kubernetes operators in just a few lines of code

MIT License

Downloads
400.1K
Stars
2K
Committers
53

Bot releases are visible (Hide)

kopf - 1.37.2 Latest Release

Published by nolar 6 months ago

Bugfixes

Documentation

Full Changelog: https://github.com/nolar/kopf/compare/1.37.1...1.37.2

kopf - 1.37.1

Published by nolar 9 months ago

What's Changed

Full Changelog: https://github.com/nolar/kopf/compare/1.37.0...1.37.1

kopf - 1.37.0

Published by nolar 9 months ago

Main changes

Features

Refactorings

Developer experience

Documentation

New Contributors

Full Changelog: https://github.com/nolar/kopf/compare/1.36.2...1.37.0

kopf - 1.36.2

Published by nolar about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/nolar/kopf/compare/1.36.1...1.36.2

kopf - 1.36.1

Published by nolar over 1 year ago

Improvements

Bugfixes

Contributor experience

New Contributors

Full Changelog: https://github.com/nolar/kopf/compare/1.36.0...1.36.1

kopf - 1.36.0

Published by nolar almost 2 years ago

Important changes

Bugfixes

Developers' experience

Documentation fixes

New Contributors

Full Changelog: https://github.com/nolar/kopf/compare/1.35.6...1.35.7

kopf - 1.35.6

Published by nolar about 2 years ago

New features:

  • Login handlers can now inject graceful expiration time to credentials (i.e. not waiting for HTTP 401s). #933

Documentation:

  • Added clarity on not supporting the methods for handlers — with reasons and hints on how to do it if desired. #939
kopf - 1.35.5

Published by nolar over 2 years ago

Trivial/Internal

  • Documentation links and grammar fixes. #928
  • PyPI classifiers for Python versions. #927
  • Kubernetes 1.23 & 1.24 added to CI; 1.19 & 1.20 are dropped from CI. #929
kopf - 1.35.4

Published by nolar over 2 years ago

Improvements:

  • Allow setting controller & blocking owner deletion for object hierarchies. #858

Bugfixes:

  • Treat listable but non-watchable resources as non-watchable (e.g. metrics.k8s.io, v1/componentstatuses, etc). #871
  • Prevent resource leaks in admission webhooks with disabled/delayed garbage collection (e.g. in PyPy). #874
  • Scan & watch zero-resource API groups of API extensions properly. #913

Documentation:

  • Fix several typos. #895 #910
  • Log instead of printing in examples. #893
  • Cease using the deprecated rbac.authorization.k8s.io/v1beta1. #887

Contributor experience:

  • Upgrade tests to Kubernetes 1.22 & 1.23, PyPy 3.8 & 3.9. #875 #914 #915
  • Upgrade mypy to 0.942. #878 #911
  • Replaced asyncio-timeouts with native routines in tests. #880
kopf - 1.35.3

Published by nolar almost 3 years ago

Improvements:

  • old, new, diff, operation kwargs for validation/mutation webhooks. Thanks to @samj1912. #857

Bugfixes:

  • Use async_timeout as an async context manager only. #859
  • Fix typo in configuration docs. #861
kopf - 1.35.2

Published by nolar almost 3 years ago

Bugfixes:

  • Stop daemons on operator exit (regression since 1.35.0). #853
  • Show the proper class name in daemon-stopped flags. #854
kopf - 1.35.1

Published by nolar about 3 years ago

Documentation:

  • Render the lists properly in ReadTheDocs. #846
    • A release to promote the fix to the "stable" version.
kopf - 1.35.0

Published by nolar about 3 years ago

Improvements:

  • Ready for Python 3.10. #828 #837
  • Support PyPy (with Python 3.7+). #845

Bugfixes:

  • Reverse the SSL authentication mode for API requests (for Python 3.10). #836
  • Update Mapping type to match new mypy (by @sobolevn). #834
  • Retry on asyncio.TimeoutError during API requests (by @philipp-sontag-by). #841

Refactoring:

  • Replaced aiojobs with a self-made fire-and-forget task orchestrator (for Python 3.10). #835
kopf - 1.35rc1

Published by nolar about 3 years ago

Improvements:

  • Ready for Python 3.10. #828 #837

Bugfixes:

  • Reverse the SSL authentication mode for API requests (for Python 3.10). #836
  • Update Mapping type to match new mypy (by @sobolevn). #834
  • Retry on asyncio.TimeoutError during API requests (by @philipp-sontag-by). #841

Refactoring:

  • Replaced aiojobs with a self-made fire-and-forget task orchestrator (for Python 3.10). #835
kopf - 1.34.0

Published by nolar about 3 years ago

New features:

  • Subresources (both specific and "*"-masked) are supported in the validating/mutating admission webhooks. #832

Bugfixes:

  • Do not watch the resources that are served only via webhooks (to prevent RBAC issues). #831
  • Handle API errors in the initial listing that prevented resources from handling. Thanks to @philipp-sontag-by. #821
  • Several documentation examples fixed. Thanks to @xavierbaude. #818
kopf - 1.34rc1

Published by nolar about 3 years ago

New features:

  • Subresources (both specific and "*"-masked) are supported in the validating/mutating admission webhooks. #832

Bugfixes:

  • Do not watch the resources that are served only via webhooks (to prevent RBAC issues). #831
  • Handle API errors in the initial listing that prevented resources from handling. Thanks to @philipp-sontag-by. #821
  • Several documentation examples fixed. Thanks to @xavierbaude. #818
kopf - 1.33.0

Published by nolar about 3 years ago

New features:

  • Configurable timeouts for API operations and TCP connections. #793
  • Configurable retries & backoffs for server-side & networking API errors. #788

Bugfixes:

  • Prevent loss of events under high-load or with heavy sync-blockers in asyncio methods. #732
    • Special thanks to @paxbit & @cjbaar for investigation.
  • Generate proper JSONPatch on mutating webhooks when the key is absent. Thanks to @cjbaar. #803.

Contributor experience:

  • Kubernetes 1.16 and 1.17 dropped from CI; they will most likely continue to work as before. #794
  • API clients refactored to have a unified requesting routine. #792 #795
  • Fix tests with namespaces mismatching the resource scopes. #791
  • Simplify the PR template. Thanks to @turbaszek. #552
  • Use issue forms instead of issue templates. #804
  • Upgrade mypy to 0.900 series. #786
kopf - 1.33rc2

Published by nolar about 3 years ago

Bugfixes:

  • Generate proper JSONPatch on mutating webhooks when the key is absent. Thanks to @cjbaar. #803.

Contributor experience:

  • Simplify the PR template. Thanks to @turbaszek. #552
  • Use issue forms instead of issue templates. #804
  • Upgrade mypy to 0.900 series. #786
kopf - 1.33rc1

Published by nolar over 3 years ago

New features:

  • Configurable timeouts for API operations and TCP connections. #793
  • Configurable retries & backoffs for API server-side & networking errors. #788

Bugfixes:

  • Prevent loss of events under high-load or with heavy sync-blockers in asyncio methods. #732
    • Special thanks to @paxbit & @cjbaar for investigation.

Contributor experience:

  • Kubernetes 1.16 and 1.17 dropped from CI; they will most likely continue to work as before. #794
  • API clients refactored to have a unified requesting routine. #792 #795
  • Fix tests with namespaces mismatching the resource scopes. #791
kopf - 1.32.1

Published by nolar over 3 years ago

Bugfixes:

  • Propagate the sub-handling context to sub-sub-handlers. #780
Package Rankings
Top 1.6% on Pypi.org
Top 20.18% on Conda-forge.org
Badges
Extracted from project README
GitHub CI Supported Python versions codecov Coverage Status
Related Projects