Merge pull request #70778 from wongma7/lease

Add Lease implementation to leaderelection package
This commit is contained in:
Kubernetes Prow Robot
2019-01-24 08:45:25 -08:00
committed by GitHub
8 changed files with 249 additions and 88 deletions

View File

@@ -183,6 +183,7 @@ func Run(c *cloudcontrollerconfig.CompletedConfig, stopCh <-chan struct{}) error
"kube-system",
"cloud-controller-manager",
c.LeaderElectionClient.CoreV1(),
c.LeaderElectionClient.CoordinationV1(),
resourcelock.ResourceLockConfig{
Identity: id,
EventRecorder: c.EventRecorder,