Skip to content

Commit

Permalink
update v1.0.1 doc to include type fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Owen Haynes <[email protected]>
  • Loading branch information
owenhaynes committed Apr 24, 2024
1 parent 10491c2 commit 9d36a8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/content/en/v1.0.1/tasks/traffic/global-rate-limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,9 @@ transfer-encoding: chunked
Here is an example of a rate limit implemented by the application developer to limit distinct users who can be differentiated based on their
IP address (also reflected in the `X-Forwarded-For` header).

Note: EG supports two kinds of rate limit for the IP address: exact and distinct.
* exact means that all IP addresses within the specified Source IP CIDR share the same rate limit bucket.
* distinct means that each IP address within the specified Source IP CIDR has its own rate limit bucket.
Note: EG supports two kinds of rate limit for the IP address: Exact and Distinct.
* Exact means that all IP addresses within the specified Source IP CIDR share the same rate limit bucket.
* Distinct means that each IP address within the specified Source IP CIDR has its own rate limit bucket.

```shell
cat <<EOF | kubectl apply -f -
Expand All @@ -534,7 +534,7 @@ spec:
- clientSelectors:
- sourceCIDR:
value: 0.0.0.0/0
type: distinct
type: Distinct
limit:
requests: 3
unit: Hour
Expand Down

0 comments on commit 9d36a8c

Please sign in to comment.