Uploaded image for project: 'OpenShift Monitoring'
  1. OpenShift Monitoring
  2. MON-4382

Prometheus serviceaccount missing permissions to monitor services in user-defined namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • openshift-4.16
    • Prometheus
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW

      In the Production OpenShift environment, Prometheus logs report anomalies indicating failure to retrieve services from custom namespaces.

      After checking against the KB https://access.redhat.com/solutions/7024333 ,

      it was confirmed that the affected namespaces do not have the label monitoring=true. According to expectations, Prometheus should only monitor namespaces that are explicitly labeled with openshift.io/cluster-monitoring.

       

       

              Unassigned Unassigned
              rhn-support-jaliang Jace Liang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: