Skip to content

Dynamic config update via xDS Management Server#373

Merged
mattklein123 merged 24 commits intoenvoyproxy:mainfrom
renuka-fernando:xds-conf-provider-impl
Feb 7, 2023
Merged

Dynamic config update via xDS Management Server#373
mattklein123 merged 24 commits intoenvoyproxy:mainfrom
renuka-fernando:xds-conf-provider-impl

Conversation

@renuka-fernando
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

Comment thread examples/xds-sotw-config-server/logger.go Outdated
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
Copy Markdown
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
Copy Markdown

@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
Copy Markdown
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
Copy Markdown

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