Skip to content

Commit

Permalink
operator: disable metrics server by default
Browse files Browse the repository at this point in the history
Signed-off-by: yukinakanaka <[email protected]>
  • Loading branch information
yukinakanaka authored and lambdanis committed May 30, 2024
1 parent 3c3787c commit 87139eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/cmd/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func New() *cobra.Command {
return nil
},
}
cmd.Flags().StringVar(&metricsAddr, "metrics-bind-address", ":2113", "The address the metric endpoint binds to.")
cmd.Flags().StringVar(&metricsAddr, "metrics-bind-address", "0", "The address the metric endpoint binds to.")
cmd.Flags().StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
cmd.Flags().BoolVar(&enableLeaderElection, "leader-elect", false,
"Enable leader election for controller manager. "+
Expand Down

0 comments on commit 87139eb

Please sign in to comment.