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

Feat: add api for getting resource usage of obcluster #228

Merged
merged 5 commits into from
Mar 11, 2024

Conversation

powerfooI
Copy link
Collaborator

Summary

In order to restrict the resource quantity that use may specify when creating tenant, it's necessary to fetch how much available resource is there in the cluster.

  1. Added an api to fetch available resource in specific cluster
  2. Added unit test for it

@powerfooI powerfooI requested a review from chris-sun-star March 8, 2024 04:05
@powerfooI powerfooI self-assigned this Mar 8, 2024
@powerfooI powerfooI force-pushed the feat/cluster-usage branch from f63fc9d to 1f10c64 Compare March 8, 2024 05:50
@chris-sun-star chris-sun-star merged commit 6346cd4 into oceanbase:master Mar 11, 2024
4 checks passed
@powerfooI powerfooI deleted the feat/cluster-usage branch June 19, 2024 07:21
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