kubernetes-client/python

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

Open

#1.877 aberto em 12 de ago. de 2022

Ver no GitHub
 (12 comments) (18 reactions) (0 assignees)Python (3.323 forks)batch import
help wantedkind/feature

Métricas do repositório

Stars
 (6.225 stars)
Métricas de merge de PR
 (Mesclagem média 10d 3h) (2 fundiu PRs em 30d)

Description

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

Guia do colaborador