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

Enable stateless Rulers #151

Merged
merged 4 commits into from
Mar 15, 2022
Merged

Conversation

saswatamcode
Copy link
Member

@saswatamcode saswatamcode commented Feb 9, 2022

This PR

  • Enables stateless Rulers for observatorium-metrics and metric-federation-rule templates
  • Upgrades kube-thanos to latest

Addresses MON-2128.

Note: These changes cannot be rolled out before Thanos v0.25, as support for specifying multiple remote_write targets was added after v0.24 (thanos#4927).

@saswatamcode saswatamcode self-assigned this Feb 9, 2022
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Copy link
Contributor

@matej-g matej-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good @saswatamcode 👍 My only additional suggestion would be to drop ruler from --store in querier args, since it won't be exposing store API anymore, right?

Additionally, as we mention, it would be good to switch ruler from stateful set to deployment, since with stateless mode we have no need to run in stateful set, but this we can do separately later.

Copy link
Contributor

@bill3tt bill3tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content of the PR looks good - but we're missing remote write config for all of our other tenants: osd, kafka, dptp etc.

As every tenant can now create rules, every tenant will need to have an entry in the rw config - the tenant config is available here & here

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
@saswatamcode
Copy link
Member Author

Thanks for catching this @ianbillett! 🙂
I was mistakenly going by the tenants.libsonnet file but that wouldn't work here.

@saswatamcode saswatamcode merged commit a90e443 into rhobs:main Mar 15, 2022
matej-g added a commit to matej-g/configuration that referenced this pull request Mar 18, 2022
saswatamcode added a commit to saswatamcode/configuration that referenced this pull request Mar 21, 2022
matej-g pushed a commit that referenced this pull request Mar 21, 2022
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

Successfully merging this pull request may close these issues.

3 participants