kubernetes-client/python

add support Lease-based leader election (rather than ConfigMaps)

オープン

#1,877 opened on 2022/08/12

 (12 件のコメント) (18 件のリアクション) (0 人の担当者)Python (3,323 件のフォーク)batch import
help wantedkind/feature

Repository metrics

Stars
 (6,225 個のスター)
PR merge metrics
 (平均マージ 10d 3h) (30d で 2 merged PRs)

説明

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

コントリビューターガイド