You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable controller-runtime metrics server in bpfman-agent
The bpfman-agent uses hostNetwork: true and the controller-runtime was
attempting to bind its default metrics server to port 8080 on the
host. This caused port conflicts when other services were already
using port 8080 on specific nodes, resulting in 'address already in
use' errors.
This issue was intermittent and node-specific - some nodes would start
the daemon successfully while others would fail, depending on whether
something else was already bound to port 8080 on that particular node.
Since the metrics decoupling work in PR 443, metrics are now served
exclusively via the metrics-proxy DaemonSet, which communicates with
the agent through a Unix socket at /var/run/bpfman-agent/metrics.sock.
The controller-runtime metrics server on port 8080 is no longer
needed.
Fix by setting Metrics.BindAddress to '0' to disable the
controller-runtime metrics server entirely, eliminating the host port
binding conflict. Metrics collection continues to work through the
metrics-proxy.
[1] #443
Signed-off-by: Andrew McDermott <[email protected]>
0 commit comments