Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceMonitor rejected on OCP 4.14 #45

Open
vrutkovs opened this issue Sep 26, 2023 · 2 comments
Open

ServiceMonitor rejected on OCP 4.14 #45

vrutkovs opened this issue Sep 26, 2023 · 2 comments

Comments

@vrutkovs
Copy link

Installed global-load-balancer on OCP 4.14 and it appears user level monitoring is rejecting the servicemonitor for global-load-balancer. PrometheusOperatorRejectedResources alert appears and user level monitor has:

2023-09-26T08:29:50.229341706Z level=warn ts=2023-09-26T08:29:50.229243216Z caller=resource_selector.go:174 component=prometheusoperator msg="skipping servicemonitor" error="it accesses file system via bearer token file which Prometheus specification prohibits" servicemonitor=global-load-balancer-operator/global-load-balancer-operator-controller-manager-metrics-monitor namespace=openshift-user-workload-monitoring prometheus=user-workload

Not sure if its user monitoring issue or this operator's ServiceMonitor needs additional changes

@sabre1041
Copy link
Contributor

@vrutkovs can you share which version of 4.14 you are seeing this on. I deployed rc2 and did not experience this situation, but did observe that a service account token was present in the pod

@vrutkovs
Copy link
Author

It was rc1 and rc2 on GCP, most likely the trigger was user-level monitoring. I'll play with this a few more times to see what's causing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants