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

Managing multiple clusters recipe #429

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

Westwooo
Copy link
Contributor

@Westwooo Westwooo commented Sep 2, 2024

No description provided.

@Westwooo Westwooo force-pushed the managing_multiple_clusters branch 4 times, most recently from bce2cb7 to fd34ad2 Compare September 4, 2024 10:04
Comment on lines 11 to 16
├───┼────────┼───────┼────────────────────────┼───────────────┼──────────────────────┼─────────────────┤
│ 0 │ false │ true │ meekjoycekreynolds │ Administrator │ my-org │ CBShell Testing │
│ 1 │ false │ false │ local │ Administrator │ │ │
│ 2 │ false │ true │ bronzegeraldjaysussman │ Administrator │ my-org │ CBShell Testing │
│ 3 │ true │ true │ obligingfaronmoller │ Administrator │ my-org │ CBShell Testing │
╰───┴────────┴───────┴────────────────────────┴───────────────┴──────────────────────┴─────────────────╯
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor improvement if you want, give them identifiers that match a narrative. like "localdev" and "systemtest" and "prod" and "ci".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment on lines 89 to 90
While it is somewhat useful to know the free memory that each cluster has, it'd be more useful for our healthcheck to know the memory utilization for each cluster.
Unfortunately the info returned by `nodes` does not include the memory utilization, however there are two columns that can be used to calculate this: `memory_free` and `memory_total`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Again, quite cool, but it might be neat to fit it into a narrative. LIke it's useful to find a test cluster with space to create a bucket, yadda, yadda.

Copy link
Contributor Author

@Westwooo Westwooo Sep 5, 2024

Choose a reason for hiding this comment

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

There are kind of two narratives, first performing health checks, then using this data to allocate a bucket. I've changed this to make it more linked to the health check narrative and have the bucket spiel later on:

Now that we understand the resources being used by our cluster we can use this information to aide us when deploying a new bucket.
Imagine that we want to create a 1GB bucket on any one of our clusters.

Fix links in similarity search recipe
@Westwooo Westwooo merged commit a1ad1d2 into main Sep 5, 2024
11 checks passed
@Westwooo Westwooo deleted the managing_multiple_clusters branch September 5, 2024 11:53
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.

2 participants