From 010527b4e256aee74a5b38b645f4fbaa5a2b7dcb Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 9 Jul 2019 13:15:35 +0100 Subject: [PATCH] Avoid port conflict for metrics endpoint In the OpenShift integrated case this conflicts with coredns which binds to :::8080, switching to 8085 should avoid this conflict with the default. Fixes: #252 --- cmd/manager/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/manager/main.go b/cmd/manager/main.go index c670003ffa..07e69a1d64 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -31,7 +31,7 @@ func printVersion() { func main() { devLogging := flag.Bool("dev", false, "enable dev logging") - metricsAddr := flag.String("metrics-addr", "127.0.0.1:8080", "The address the metric endpoint binds to.") + metricsAddr := flag.String("metrics-addr", "127.0.0.1:8085", "The address the metric endpoint binds to.") flag.Parse() // The logger instantiated here can be changed to any logger