kubernetes-client/python
Auf GitHub ansehenadd support Lease-based leader election (rather than ConfigMaps)
Open
#1.877 geöffnet am 12. Aug. 2022
help wantedkind/feature
Repository-Metriken
- Stars
- (6.225 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 10T 3h) (2 gemergte PRs in 30 T)
Beschreibung
What is the feature and why do you need it:
Currently, the K8S Python API only supports leader election using ConfigMapLock.
The K8S Go API supports using the proper Lease resource type with its LeaseLock, and actually recently removed support for the legacy ConfigMap approach.
We should update the Kubernetes Python API to provide a Lease-based leader election.
/cc @Invictus17 @tdihp