-
Notifications
You must be signed in to change notification settings - Fork 579
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
✨ Add fine-grained service rate limiters #2201
✨ Add fine-grained service rate limiters #2201
Conversation
a57c74a
to
f9f742e
Compare
b24926e
to
de03cdc
Compare
Did not added ratelimiter to MachinePool, it needs further investigation on how to incorporate there best. /hold |
Can you create a follow up issue if there isn't one? |
can you squash these commits? |
request buckets that can be reset when AWS returns that it's throttling us. Based loosely on https://github.com/aws/aws-app-mesh-controller-for-k8s/tree/master/pkg/aws/throttle but much simplified. Uses a forked version of Golang's rate limiter to implement the bucket reset. https://docs.aws.amazon.com/AWSEC2/latest/APIReference/throttling.html Signed-off-by: Naadir Jeewa <jeewan@vmware.com> Minor fixes
de03cdc
to
d3db52a
Compare
Scale tests that are on this PR (#2034) are not passing due to docker rate limits:
But this something we need to worry in that PR. |
I will create the rebased test PR once this is merged. |
/hold cancel |
/test pull-cluster-api-provider-aws-e2e |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: randomvariable The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
On the scale test issue, we should probably bump Calico to the latest version. Going to assume that they've maybe got a new public registry that doesn't get hit by the limits? |
What this PR does / why we need it:
Rebase of #2033
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #