Skip to content

a copy of the leader election code from the Official Python client library for kubernetes to make it compatible with it's not so official asyncio counterpart.

License

Notifications You must be signed in to change notification settings

ollytheninja/kubernetes_leaderelection_asyncio

Repository files navigation

Kubernetes Leader Election Asyncio

The package is a copy-paste of the leader election code from the Official Python client library for kubernetes to make it compatible with it's not so official asyncio counterpart.

It has been updated to support only Python 3.7+ (since that is required for async). It also has had typing liberally applied for your convenience. 🧂

This is for demonstration purposes only.

Please check out leaderelection/example.py.

See manifest/example.yaml for a kick-start getting the example running in-cluster.

About

a copy of the leader election code from the Official Python client library for kubernetes to make it compatible with it's not so official asyncio counterpart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published