"PrometheusOperatorRejectedResources" alert firing continuously in a Red Hat OpenShift Service on AWS (ROSA) cluster
Issue
- Continuous "PrometheusOperatorRejectedResources" warning from the AlertManager.
- Prometheus operator shows the following warning log repeatedly:
level=warn ts=2022-07-29T16:17:27.361540578Z caller=operator.go:1832 component=prometheusoperator msg="skipping servicemonitor" error="it accesses file system via bearer token file which Prometheus specification prohibits" servicemonitor=openshift-logging/monitor-elasticsearch-cluster namespace=openshift-user-workload-monitoring prometheus=user-workload
Environment
- Red Hat OpenShift Service on AWS (ROSA 4.x)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.