Skip to content

Conversation

@mapno
Copy link
Contributor

@mapno mapno commented Aug 29, 2025

What this PR does:

Adds required resources to run live-stores from the jsonnet library. Also updates the k3d example to run a full rhythm setup.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
Copy link
Collaborator

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

couple o Qs, but lgtm

compactor: {}
distributor: {}
http_api_prefix: ""
ingester:
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need this block? not sure what it does

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's inherited from the base config, it's set in all components. I thought of cleaning it up but didn't want to change too many things outside the scope of this PR

- key: name
operator: NotIn
values:
- live-store-zone-a
Copy link
Collaborator

Choose a reason for hiding this comment

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

not 100% sure what these scheduling affinity rules do, but it's ok if multiple zone-a livestores are on the same node. we need to make sure that zone-a livestores never share a node with zone-b

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that's exactly what it does. If allow_multiple_replicas_on_same_node is false, then it excludes nodes where other zones are running in.

@mapno mapno merged commit 5f50821 into grafana:main Sep 1, 2025
22 checks passed
@mapno mapno deleted the livestores-jsonnet branch September 1, 2025 09:25
mapno added a commit that referenced this pull request Sep 1, 2025
* Add livestores to jsonnet lib

* Update tk example to run complete rhythm setup

* Small fixes

* Simplify antiaffinity config

* chlog

* compile!
@mapno mapno mentioned this pull request Sep 4, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport r216 type/bug Something isn't working

3 participants