-
Notifications
You must be signed in to change notification settings - Fork 454
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
prometheusOperator: true add, then delete scrape config continously #2218
Comments
@pasztorl could you please add your prometheus configuration yaml and crd. Thanks. |
Hi, I set two things related to this: Operator chart:
The operator can find prometheus, because when it was not set properly I got different error messages. On tenant:
Prometheus installed with kube-prometheus-stack chart. |
Now I do a retry, now I got this message from the operator:
Which is true, because I use additional scrape config so the prometheus-prometheus-scrape-confg secret exists in the monitoring ns. My scape config looks like this:
|
could you please check if the secret is being created? |
I've deleted my own scrape config secret then I restarted the minio operator. I've not found minio-prom-additional-scrape-config secret on any ns. |
please share your full tenant yaml as well as your operator . |
also please share the full operator logs after restart |
I've attached the tenant and the operator deployment |
I've set the prometheusOperator: false. Restarted the operator, then after the restart I switched back to true. Here is the log. |
you need to remove the |
Actually I using this AdditionalScrapeConfigs to monitor nodes that have node-exporter but not a node within the k8s cluster, so this is why I need the AdditionalScrapeConfigs. |
Right now it can only point to one secret, and minio needs that one I mentioned to work. and the key also has to be the same. To fix your case, rename your secret with your custom config to the one I mentioned. MinIO operator will be happy seeing that the name is the one it looks for and it will append the minio scrape config it needs. |
I've added prometheusOperator: true to a tenant config then i just see this in the logs:
How can I debug the problem?
The text was updated successfully, but these errors were encountered: