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

Rate Limit Service config in EnvoyGateway API #871

Merged
merged 4 commits into from
Jan 11, 2023

Conversation

arkodg
Copy link
Contributor

@arkodg arkodg commented Jan 6, 2023

  • Defines the configuration needed to enable as well as connect the rate limit service to a redis database backend
  • This will be required to be set by the infrastructure admin if the app developers want the global rate limiting feature using RateLimitFilter

Relates to #670

Signed-off-by: Arko Dasgupta arko@tetrate.io

* Defines the configuration needed to enable as well
as connect the rate limit service to a redis database backend
* This will be required to be set by the infrastructure admin
if the app developers want the global rate limiting feature using
`RateLimitFilter`

Relates to envoyproxy#670

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@arkodg arkodg requested a review from a team as a code owner January 6, 2023 23:48
@arkodg arkodg added kind/enhancement New feature or request area/api API-related issues priority/high Label used to express the "high" priority level labels Jan 6, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 6, 2023

Codecov Report

Merging #871 (42e7843) into main (5b79437) will decrease coverage by 0.70%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #871      +/-   ##
==========================================
- Coverage   64.07%   63.36%   -0.71%     
==========================================
  Files          51       53       +2     
  Lines        6869     7330     +461     
==========================================
+ Hits         4401     4645     +244     
- Misses       2194     2396     +202     
- Partials      274      289      +15     
Impacted Files Coverage Δ
internal/ir/zz_generated.deepcopy.go 12.52% <0.00%> (-4.79%) ⬇️
internal/ir/xds.go 76.02% <0.00%> (-3.52%) ⬇️
internal/provider/kubernetes/controller.go 46.36% <0.00%> (-1.56%) ⬇️
internal/xds/translator/route.go 84.78% <0.00%> (-1.13%) ⬇️
internal/xds/translator/listener.go 81.16% <0.00%> (-0.74%) ⬇️
internal/xds/translator/translator.go 74.12% <0.00%> (-0.47%) ⬇️
internal/status/status.go 0.00% <0.00%> (ø)
internal/status/gateway.go 0.00% <0.00%> (ø)
api/v1alpha1/validation/authenticationfilter.go 79.54% <0.00%> (ø)
internal/xds/translator/ratelimit.go 96.36% <0.00%> (ø)
... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

kflynn
kflynn previously approved these changes Jan 10, 2023
Copy link
Contributor

@kflynn kflynn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty reasonable here, FWIW. 🙂

@danehans
Copy link
Contributor

An appropriate RateLimitFilter status condition if EG is not configured per this PR. Note that I don't expect this point regarding status to be part of this PR but it should be tracked by a separate issue @arkodg.

api/config/v1alpha1/envoygateway_types.go Outdated Show resolved Hide resolved
api/config/v1alpha1/envoygateway_types.go Show resolved Hide resolved
api/config/v1alpha1/envoygateway_types.go Show resolved Hide resolved
api/config/v1alpha1/envoygateway_types.go Show resolved Hide resolved
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@arkodg arkodg requested a review from danehans January 11, 2023 00:03
@danehans danehans merged commit 7b6e1f1 into envoyproxy:main Jan 11, 2023
@arkodg arkodg deleted the rl-service-api branch January 11, 2023 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API-related issues kind/enhancement New feature or request priority/high Label used to express the "high" priority level
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants