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

Dynamic config update via xDS Management Server #373

Merged
merged 24 commits into from
Feb 7, 2023

Conversation

renuka-fernando
Copy link
Contributor

@renuka-fernando renuka-fernando commented Oct 25, 2022

Description

Fix #201

Design

Tasks

  • Unit Tests
  • Integration Tests
  • An example xDS server - within docker-compose-example setup
  • Doc update for configs

Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>

Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
…content string

Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
@carnei-ro
Copy link

Having a controller to handle the RateLimit configurations would be really nice!

…ds-conf-provider-impl

Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>

Conflicts:
	go.sum
	src/config/config_impl.go
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale label Jan 12, 2023
…ds-conf-provider-impl

Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>

Conflicts:
	go.sum
@github-actions github-actions bot removed the stale label Jan 17, 2023
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
@renuka-fernando
Copy link
Contributor Author

Hi @mattklein123,

ADS Client implementation is merged envoyproxy/go-control-plane#604 and updated the go-control-plane version to reflect the client implementation. Could you please review this PR?

Thanks.

Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
@mattklein123 mattklein123 self-assigned this Feb 6, 2023
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Nice. I skimmed and in general LGTM. Fine to ship and iterate with the small nit fix, thanks.

examples/xds-sotw-config-server/logger.go Outdated Show resolved Hide resolved
envoyproxy#373 (comment)
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Related to envoyproxy#371

Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

@mattklein123 mattklein123 merged commit 1a68686 into envoyproxy:main Feb 7, 2023
@collinlee
Copy link

@alecholmez - is there a resource somewhere that shows how to use the dynamic config updates via xDS to update envoy ratelimit configuration?

@renuka-fernando
Copy link
Contributor Author

@alecholmez - is there a resource somewhere that shows how to use the dynamic config updates via xDS to update envoy ratelimit configuration?

Here is an example xDS server that will update the configuration of the rate limit service https://github.com/envoyproxy/ratelimit/tree/main/examples/xds-sotw-config-server.

If you want to configure envoy, refer to this doc https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/other_features/global_rate_limiting.
Route configuration: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-field-config-route-v3-virtualhost-rate-limits.

@collinlee
Copy link

Thank you!

barroca pushed a commit to barroca/ratelimit that referenced this pull request Sep 1, 2023
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
timcovar pushed a commit to goatapp/ratelimit that referenced this pull request Jan 16, 2024
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How can I use the ratelimit setting dynamically?
4 participants