Prometheus externalLabels `Cluster:` enforced from RHOCP 4.20
Issue
- The protected label
clustercan no longer be used as an externalLabel in Prometheus from Openshift 4.20 - Using the
clusterkey name can cause issues with developer dashboards -
In the events from the
openshift-monitoringnamespace 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.