Prometheus externalLabels `Cluster:` enforced from RHOCP 4.20

Solution Verified - Updated -

Issue

  • The protected label cluster can no longer be used as an externalLabel in Prometheus from Openshift 4.20
  • Using the cluster key name can cause issues with developer dashboards
  • In the events from the openshift-monitoring namespace could be present the error:

    error unmarshaling: reserved key "cluster" (one of [prometheus prometheus_replica cluster]) cannot be set in externalLabels
    

Environment

  • Red Hat OpenShift Container Platform 4.20

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