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

rework the charm to the new design #13

Closed
lucabello opened this issue Nov 13, 2023 · 0 comments · Fixed by #12
Closed

rework the charm to the new design #13

lucabello opened this issue Nov 13, 2023 · 0 comments · Fixed by #12

Comments

@lucabello
Copy link
Contributor

Enhancement Proposal

The coordinator charm has to:

  1. instead of supporting one relation endpoint per role, we should relate the coordinator to the worker over the single interface/endpoint mimir-cluster;
  2. gather all the roles from relation data and check if the minimal subset conditions are met; if not, set BlockedStatus and let the user know with a status message;
  3. build the Mimir configuration and update it with the hash ring (memeberlist), composed of all the URLs of the workers (through the top-level config key memberlist, under join_members);
  4. send the Mimir configuration to all the workers over relation data

Completing this issue should be enough for a functioning testable charm to be related to a worker.

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

Successfully merging a pull request may close this issue.

1 participant