kubernetes-client/python

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

Open

#1,877 创建于 2022年8月12日

在 GitHub 查看
 (12 评论) (18 反应) (0 负责人)Python (3,323 fork)batch import
help wantedkind/feature

仓库指标

Star
 (6,225 star)
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

贡献者指南