kubernetes/pkg/client/leaderelection
Kubernetes Submit Queue cba96a86c5 Merge pull request #42666 from timothysc/configmap_lock
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
2017-03-25 18:15:23 -07:00
..
resourcelock Add the ability to lock on ConfigMaps to support HA for 2017-03-14 12:55:46 -05:00
BUILD move client/record 2017-01-31 19:14:13 -05:00
leaderelection_test.go Add the ability to lock on ConfigMaps to support HA for 2017-03-14 12:55:46 -05:00
leaderelection.go Fix spelling of the word successfully 2017-03-22 18:33:11 -05:00
OWNERS Update OWNERS 2016-12-19 16:05:48 -08:00