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

loki.rules.kubernetes: Add support for clustered mode #978

Closed
wants to merge 0 commits into from

Conversation

ToonTijtgat2
Copy link
Contributor

@ToonTijtgat2 ToonTijtgat2 commented Jun 4, 2024

PR Description

This change adds support for updating Loki rules based on PrometheusRule objects when running in clustered mode. It does this by picking a single instance to be the leader responsible for making changes using the Loki API. Other non-leader instances will not process events or make calls to the Loki API.

Which issue(s) this PR fixes

Fixes #976

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

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

Successfully merging this pull request may close these issues.

[loki.rules.kubernetes] add support for clustered mode
1 participant