How to add the built-in prometheus datasource to the external grafana instance in RHOCP 4.12

Solution Verified - Updated -

Issue

  • It could be observed there is no secret/grafana-datasources when upgraded to OpenShift 4.12.
  • The route/prometheus-k8s is changed to /api from / when upgraded to OpenShift 4.12.

Environment

  • Red Hat Openshift Container Platform (RHOCP)
    • 4.12 and above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content