From 9a4df148b847ffd20c934e3f335774ae3ea4939e Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 18 Oct 2020 00:11:31 -0700 Subject: [PATCH] skip metrics --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ca8885a..5f0883b 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,7 @@ func init() { func main() { var metricsAddr string var enableLeaderElection bool - flag.StringVar(&metricsAddr, "metrics-addr", ":8080", "The address the metric endpoint binds to.") + flag.StringVar(&metricsAddr, "metrics-addr", ":0", "The address the metric endpoint binds to.") flag.BoolVar(&enableLeaderElection, "enable-leader-election", false, "Enable leader election for controller manager. "+ "Enabling this will ensure there is only one active controller manager.")