If the Metrics.BindAddress is not explicitly set to 0, the controller manger starts a metrics server on the default port (8080), which causes the yawol-cloud-controller to crash:
"error": "failed to start metrics server: failed to create listener: listen tcp :8080: bind: address already in use"}
This PR reintroduces the setting to disable the metrics server completely. This was inadvertently removed in #241 and made it to main (and the latest release) undetected.
If the
Metrics.BindAddress
is not explicitly set to0
, the controller manger starts a metrics server on the default port (8080
), which causes the yawol-cloud-controller to crash:This PR reintroduces the setting to disable the metrics server completely. This was inadvertently removed in #241 and made it to
main
(and the latest release) undetected.