Description of problem:
Router metrics are not getting scraped by Prometheus
Steps to Reproduce:
1. Run openshift e2e conformance against an IBM ROKS cluster
The following tests fail:
[Feature:Prometheus][Conformance] Prometheus when installed on the cluster should provide ingress metrics`,
[Conformance][Area:Networking][Feature:Router] The HAProxy router should enable openshift-monitoring to pull metrics`,
No tests fail
This is happening because the openshift-ingress namespace is missing the "openshift.io/cluster-monitoring: true" label.
We should be able to add this in the ibm-roks-toolkit code.
Moving to verified - (no release associated, as this is a bug in the ibm-roks-toolkit)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.