operate-first / alerts

Bots posting alerts from our clusters
GNU General Public License v3.0
0 stars 5 forks source link

PrometheusOperatorRejectedResources #29235

Closed goern closed 8 months ago

goern commented 8 months ago

Alertmanager URL: https://console-openshift-console.apps.nostromo.erdgeschoss.b4mad.emea.operate-first.cloud/monitoring

TODO: add graph url from annotations.

goern commented 8 months ago

after looking through the logs of the prometheus-operator for user-workload-monitoring, for example https://console-openshift-console.apps.nostromo.erdgeschoss.b4mad.emea.operate-first.cloud/k8s/ns/openshift-user-workload-monitoring/pods/prometheus-operator-59cd6d448b-d8krg it showed that the openshift-operators namespace is missing the cluster-monitoring label. added it via oc label namespace openshift-operators openshift.io/cluster-monitoring=true.

https://github.com/operator-framework/operator-sdk/issues/4764 might be the root cause.

goern commented 8 months ago

same problem on phobos, here it is openshift-storage/lvms-operator-metrics-monitor

goern commented 8 months ago

https://access.redhat.com/solutions/6706741 was helpful