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

Thanos Rule: posibility to setup rules #173

Open
sancyx opened this issue Feb 26, 2022 · 0 comments
Open

Thanos Rule: posibility to setup rules #173

sancyx opened this issue Feb 26, 2022 · 0 comments

Comments

@sancyx
Copy link
Member

sancyx commented Feb 26, 2022

Is your feature request related to a problem? Please describe.
Right now there's only a string property rule.rules to specify rules.

Describe the solution you'd like to see

a) Using serviceOverrides it's possible to add a config map as volume, so would be enough to map rules property to rule-file param: Rules string json:"rules,omitempty" thanos:"--rule-file=%s".

b) Add a new property where user can specify a config map containing rule file(s) which is then mapped as a volume and set --rule-file ccordingly.

c) Support setting up rules from PrometheusRule resources.

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

1 participant