Skip to content

Commit

Permalink
Bug 1851928: [metrics] TargetDown alert is always fired in ovnkube-no…
Browse files Browse the repository at this point in the history
…de job

The TargetDown alert was always getting fired for all the ovnkube-nodes
because the metrics-bind-address flag was not getting passed in the exec
command for the ovnkube-node container. This regression was introduced
in  PR openshift#615. Prometheus was hence not able to scrape the up metrics.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
  • Loading branch information
tssurya authored and openshift-cherrypick-robot committed Jul 8, 2020
1 parent 9539e49 commit 277c5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindata/network/ovn-kubernetes/ovnkube-node.yaml
Expand Up @@ -131,7 +131,7 @@ spec:
--sb-client-cacert /ovn-ca/ca-bundle.crt \
--config-file=/run/ovnkube-config/ovnkube.conf \
--loglevel "${OVN_KUBE_LOG_LEVEL}" \
--inactivity-probe="${OVN_CONTROLLER_INACTIVITY_PROBE}"
--inactivity-probe="${OVN_CONTROLLER_INACTIVITY_PROBE}" \
${hybrid_overlay_flags} \
--metrics-bind-address "0.0.0.0:9103"
env:
Expand Down

0 comments on commit 277c5a4

Please sign in to comment.