-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Apply Prometheusrule from custom rules file and reload it upon modifications to custom alert rules file #3111
Comments
Hello,
Long story short , idea is to produce alert rules for prometheus from our application and deploy them at runtime and reload at runtime upon ant change. Wondering what could be reasonable way to achieve above use case ? Any suggestions would be much appreciated. Thanks. |
Prometheus operator should be fine for you use case as described. As you create/update PrometheusRule objects containing your alerting and recording rules, prometheus operator will pick up these changes and apply them to matching Prometheus instances. |
Thank you for your response.
Sorry If I m asking some dumb questions here but being a new bee to these cloud technologies still in learning phase. |
If you are new to Kubernetes, it might be easier to just create a simple Prometheus deployment at first before using prometheus-operator. Then take a look at the kube-prometheus project (https://github.com/coreos/kube-prometheus) for a more detailed example of a deployment with prometheus-operator. |
This issue has been automatically marked as stale because it has not had any activity in last 60d. Thank you for your contributions. |
This issue hasn't been updated for a longer period of time and appears to be answered. If you need additional clarification, please reopen it. |
No description provided.
The text was updated successfully, but these errors were encountered: