Skip to content

Commit

Permalink
Merge pull request rancher#167 from mnorrsken/master
Browse files Browse the repository at this point in the history
Disable (un-needed) leader election to reduce pod restarts
  • Loading branch information
innobead authored Jan 8, 2021
2 parents d253f2b + 2cf446c commit fc1f8a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func startDaemon(c *cli.Context) error {
provisionerName,
provisioner,
serverVersion.GitVersion,
pvController.LeaderElection(false),
)
logrus.Debug("Provisioner started")
pc.Run(stopCh)
Expand Down

0 comments on commit fc1f8a5

Please sign in to comment.