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

Requests sent to a rate limited API are not throttled upon exceeding API rate limit #2226

Closed
sgayangi opened this issue Apr 2, 2024 · 2 comments

Comments

@sgayangi
Copy link
Contributor

sgayangi commented Apr 2, 2024

Description:

  1. Create an API with a RateLimitPolicy
  2. Invoke the API until the limit is exceeded
  3. Use the following command and note that the relevant CR has been updated.
kubectl get ratelimitpolicies -n apk
  1. Even after the limit is exceeded, the API can be called without an issue when it should get a 429 response.

However, when the common controller pod is restarted, it works as expected.

@sgayangi sgayangi changed the title Rate limit policies are not being applied Requests sent to a rate limited API are not throttled upon exceeding API rate limit Apr 2, 2024
@sgayangi
Copy link
Contributor Author

sgayangi commented Apr 3, 2024

The issue has been reproduced in the beta pack as well, therefore needs to be fixed.

@Tharsanan1
Copy link
Contributor

Fixed intermittent ratelimit issues with: #2446

@CrowleyRajapakse CrowleyRajapakse added this to the 1.2.0-beta milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done/Done
Development

No branches or pull requests

4 participants