Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit b1b389c

Browse files
committed
disable leader election by default
1 parent 2c4a815 commit b1b389c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func init() {
6060
func main() {
6161
flag.StringVar(&metricsAddr, "metrics-addr", ":9556", "The address of the metric endpoint binds to.")
6262
flag.StringVar(&probesAddr, "probe-addr", ":9557", "The address of the probe endpoints bind to.")
63-
flag.BoolVar(&enableLeaderElection, "enable-leader-election", true,
63+
flag.BoolVar(&enableLeaderElection, "enable-leader-election", false,
6464
"Enable leader election for controller manager. "+
6565
"Enabling this will ensure there is only one active controller manager.")
6666
flag.StringVar(&leaderElectionNamespace, "leader-election-namespace", "",

0 commit comments

Comments
 (0)