mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-04 17:24:25 -04:00
Automatic merge from submit-queue (batch tested with PRs 41297, 42638, 42666, 43039, 42567) Add the ability to lock on ConfigMaps to support HA for self hosted components **What this PR does / why we need it**: This PR add the ability to lock on ConfigMap objects. As we self-host more and more components, ConfigMaps provides a useful resource to lock on that applies to just the component that is being added. This allows components such as scheduler+controller manager, etc. to have a simple mechanism to allow to active-passive HA without the cost of endpoint updates. **Related Issues** xref: https://github.com/kubernetes/client-go/issues/28 **Special notes for your reviewer**: We may want to deprecate endpoints locking at some point. **Release note**: ``` Add the ability to lock on ConfigMaps to support HA for self hosted components ``` /cc @kubernetes/sig-cluster-lifecycle-pr-reviews @mikedanese |
||
|---|---|---|
| .. | ||
| resourcelock | ||
| BUILD | ||
| leaderelection.go | ||
| leaderelection_test.go | ||
| OWNERS | ||