kubernetes-client/python

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

開放

#1,877 建立於 2022年8月12日

 (12 則留言) (18 個反應) (0 位負責人)Python (3,323 個分叉)batch import
help wantedkind/feature

倉庫指標

星標
 (6,225 顆星)
PR 合併指標
 (平均合併 10天 3小時) (30 天內合併 2 個 PR)

描述

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

貢獻者指南