envoyproxy / ratelimit

Go/gRPC service designed to enable generic rate limit scenarios from different types of applications.
Apache License 2.0
2.21k stars 428 forks source link

Do we have K8s CRD as config source? #633

Open SpecialYang opened 2 weeks ago

SpecialYang commented 2 weeks ago

Now, how can we use k8s crd to define ratelimit config?

birdayz commented 2 days ago

Not ready made available, but you can do yourself: implement XDS SOTW API and read the data from CRs. Example: https://github.com/envoyproxy/ratelimit/tree/main/examples/xds-sotw-config-server

it's a great idea though