mirror of https://github.com/istio/istio.io.git
apply rate-limit-service.yaml from samples, when you try rate-limit task (#9265)
* apply rate-limit-service.yaml from samples, when you try rate-limit task * Update content/en/docs/tasks/policy-enforcement/rate-limit/index.md Co-authored-by: Pengyuan Bian <bianpengyuan@google.com> Co-authored-by: Pengyuan Bian <bianpengyuan@google.com>
This commit is contained in:
parent
974dcc8848
commit
80ddb8f6b3
|
@ -62,6 +62,8 @@ backend, is used below.
|
||||||
requests_per_unit: 100
|
requests_per_unit: 100
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
|
1. Create a global rate limit service which implements Envoy's [rate limit service protocol](https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/ratelimit/v3/rls.proto). As a reference, a demo configuration can be found [here]({{< github_blob >}}/samples/ratelimit/rate-limit-service.yaml), which is based on a [reference implementation](https://github.com/envoyproxy/ratelimit) provided by Envoy.
|
||||||
|
|
||||||
1. Apply an `EnvoyFilter` to the `ingressgateway` to enable global rate limiting using Envoy's global rate limit filter.
|
1. Apply an `EnvoyFilter` to the `ingressgateway` to enable global rate limiting using Envoy's global rate limit filter.
|
||||||
|
|
||||||
The first patch inserts the
|
The first patch inserts the
|
||||||
|
|
Loading…
Reference in New Issue