-
Notifications
You must be signed in to change notification settings - Fork 628
Add live-stores to jsonnet lib #5591
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
Conversation
There was a problem hiding this 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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
* Add livestores to jsonnet lib * Update tk example to run complete rhythm setup * Small fixes * Simplify antiaffinity config * chlog * compile!
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
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]