Git Product home page Git Product logo

Comments (7)

github-actions avatar github-actions commented on August 16, 2024

This issue is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.

from secrets-store-csi-driver-provider-azure.

kchilka-msft avatar kchilka-msft commented on August 16, 2024

hey @aramase - wanted to follow up re the above question.

from secrets-store-csi-driver-provider-azure.

aramase avatar aramase commented on August 16, 2024

@kchilka-msft It's a GET call to Key vault per secret per pod. So, in the load test scenario, it is 20k calls to KV as it's the same 2 secret per pod and there are 10k pods.

In case of rotation, the list of all existing pods is generated and the contents in the mount are rotated linearly. A workqueue is created in the driver, all 10k pods added to queue and then the queue is processed. The AKV rate limit is 4000 GET/10s (xref: https://learn.microsoft.com/en-us/azure/key-vault/general/service-limits#secrets-managed-storage-account-keys-and-vault-transactions). As we're not making all 20k calls at once, the rate limit is not hit with the load tests. Having said this , if there is a burst of pods all requesting the secrets at the same time, the rate limit with be hit.

from secrets-store-csi-driver-provider-azure.

kchilka-msft avatar kchilka-msft commented on August 16, 2024

@aramase thanks for the explanation!

So in every rotation, the number of calls to AKV will be (number of pods * number of secrets)? But in a linear fashion so AKV throttling limit isnt breached?

Also, is there any explicit check you have that ensures calls to AKV are 4000 GET/10s?

from secrets-store-csi-driver-provider-azure.

aramase avatar aramase commented on August 16, 2024

So in every rotation, the number of calls to AKV will be (number of pods * number of secrets)? But in a linear fashion so AKV throttling limit isnt breached?

Yes!

Also, is there any explicit check you have that ensures calls to AKV are 4000 GET/10s?

There is no explicit check. The retries are in the SDK and in case of 429 error, the sdk returns error without retry.

from secrets-store-csi-driver-provider-azure.

github-actions avatar github-actions commented on August 16, 2024

This issue is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.

from secrets-store-csi-driver-provider-azure.

github-actions avatar github-actions commented on August 16, 2024

This issue was closed because it has been stalled for 21 days with no activity. Feel free to re-open if you are experiencing the issue again.

from secrets-store-csi-driver-provider-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.