From 87139eb627ec825d2f33f4057cab8bdb58b78f9f Mon Sep 17 00:00:00 2001 From: yukinakanaka Date: Thu, 30 May 2024 10:38:31 +0900 Subject: [PATCH] operator: disable metrics server by default Signed-off-by: yukinakanaka --- operator/cmd/serve/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/cmd/serve/serve.go b/operator/cmd/serve/serve.go index ac0b1546c8d..939e42d29f1 100644 --- a/operator/cmd/serve/serve.go +++ b/operator/cmd/serve/serve.go @@ -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. "+