-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Namespace quota for multi-tenancy #10084
Comments
My first idea was adding
But multiple users can be bound to a role. If userA, userB are in roleA, when userA exceeds role's quota, userB are impacted as well, this seems unfair. So I'm thinking maybe creating a new bblot bucket for |
cc @jpbetz |
If we want to do multi-tenancy, probably we need to really have separate mvcc store. Or operations like compaction will affect other tenants. The role mechanism is not designed for isolation but simply for auth. The current isolation is pretty weak. |
I'm interested in this for using multi tenant etcd for kubernetes clusters. Would be nice to restrict certain users from taking up too much key space. Then again, I guess I could handle that at the kubernetes level with object quotas, hmmm |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I believe this would be an interesting feature. Solution would also need to `address number of requests that each tenant can fire into the cluster (and not only key/ storage quotas). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
@tangcong @gyuho @jpbetz @xiang90 @wenjiaswe Have we investigated any type of sub buckets within bbolt to implement namespace quota? Some features/issues related to this: I'm just looking to gauge if the community would be interested in something like this? Is this a desirable feature and if it's fitting with the etcd offerings? Thanks. |
@tangcong @gyuho @jpbetz @xiang90 @wenjiaswe @agargi Here's a technical doc that solves the problem for multi tenancy. Would really appreciate a review and get feedback, would like to implement this once the review is complete and all the issues in the document are addressed. Thank you, appreciate your time and efforts. Link: https://docs.google.com/document/d/1POdNdFBgpcGqLwurZjy8qQki6beOoVIcElTqHy4DnnA/edit |
@tangcong @gyuho @jpbetz @xiang90 @wenjiaswe @agargi @jingyih @ptabor just a gentle reminder. Link: https://docs.google.com/document/d/1POdNdFBgpcGqLwurZjy8qQki6beOoVIcElTqHy4DnnA/edit |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Now etcd has a global storage quota, but for multi-tenant environment, it seems we cannot limit storage usage, key number usage for each user, or each role.
IMHO, if there is a quota for this scenario, it would satisfy these needs.
The text was updated successfully, but these errors were encountered: