Skip to content

Commit

Permalink
Avoid port conflict for metrics endpoint
Browse files Browse the repository at this point in the history
In the OpenShift integrated case this conflicts with coredns which binds
to :::8080, switching to 8085 should avoid this conflict with the
default.

Fixes: metal3-io#252
  • Loading branch information
Steven Hardy authored and dhellmann committed Jul 26, 2019
1 parent 7fa4775 commit 48a1030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48a1030

Please sign in to comment.