-
Notifications
You must be signed in to change notification settings - Fork 156
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
Multi-tenancy as a new capability. #143
base: main
Are you sure you want to change the base?
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.
will test it once from my side by running the scripts. please give me a day or 2.
scenarios/workload-genai/policies/multi-tenancy/multi-tenant-product1-policy.xml
Outdated
Show resolved
Hide resolved
scenarios/workload-genai/policies/multi-tenancy/multi-tenant-product1-policy.xml
Outdated
Show resolved
Hide resolved
scenarios/workload-genai/policies/multi-tenancy/multi-tenant-product1-policy.xml
Outdated
Show resolved
Hide resolved
scenarios/workload-genai/policies/multi-tenancy/multi-tenant-product2-policy.xml
Show resolved
Hide resolved
done testing. working as expected. |
…xisting rate limiter policies
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.
Tested the Terraform version
This is a PR for having multi-tenancy as a new capability in the GenAI Backend scenario(Scenario 3).
Following issue describes the context in more detail -
#142
As part of demonstration of multi-tenancy capability,
We are creating 2 example multi-tenancy products with reference to existing OpenAI API , we will apply a new quota policy at the product level, such that if the number of requests to APIM via that product's subscription exceed as per the defined "calls" attribute's value, then the product policy will accordingly block the subsequent requests from that subscription until the quota is refreshed based on the defined "renewal-period" and "counter-key" attribute, everything else in the existing setup stays the same.
For example-
Following 2 new products will now be created:
with their own respective quota policies.
both linked to the existing OpenAI API:
& their corresponding subscriptions:
Finally, now as part of our scripts deployment output we will get 2 additional subscriptions for our multi-tenant products for the user to test the same.
Summary of changeset in this PR:
Both Bicep and Terraform scripts have been tested and seem to be working fine without any impact.