mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Add Lease implementation to leaderelection package
This commit is contained in:
@@ -235,6 +235,7 @@ func Run(c *config.CompletedConfig, stopCh <-chan struct{}) error {
|
||||
"kube-system",
|
||||
"kube-controller-manager",
|
||||
c.LeaderElectionClient.CoreV1(),
|
||||
c.LeaderElectionClient.CoordinationV1(),
|
||||
resourcelock.ResourceLockConfig{
|
||||
Identity: id,
|
||||
EventRecorder: c.EventRecorder,
|
||||
|
||||
Reference in New Issue
Block a user