mirror of https://github.com/hashicorp/consul
Backport of replaced ordered list of rate limit ops with flow diagram into release/1.16.x (#18405)
backport of commit f792356986
Co-authored-by: trujillo-adam <ajosetru@gmail.com>
backport/upgrade-testcontainer-version/pleasantly-moved-penguin
parent
7a454cb953
commit
9ef8d0e738
|
@ -31,6 +31,10 @@ Setting limits per source IP requires Consul Enterprise.
|
||||||
|
|
||||||
You can define request rate limits in the agent configuration and in the control plane request limit configuration entry. The configuration entry also supports rate limit configurations for Consul resources. Consul perfroms the following order of operations when determing request rate limits:
|
You can define request rate limits in the agent configuration and in the control plane request limit configuration entry. The configuration entry also supports rate limit configurations for Consul resources. Consul perfroms the following order of operations when determing request rate limits:
|
||||||
|
|
||||||
|
![Diagram showing the order of operations for determining request rate limits.](/img/agent-rate-limiting-ops-order.jpg#light-theme-only)
|
||||||
|
![Diagram showing the order of operations for determining request rate limits.](/img/agent-rate-limiting-ops-order-dark.jpg#dark-theme-only)
|
||||||
|
|
||||||
|
<!--
|
||||||
1. Parse request.
|
1. Parse request.
|
||||||
1. Does the request reach a global server limit?
|
1. Does the request reach a global server limit?
|
||||||
- No: Proceed to the next stage.
|
- No: Proceed to the next stage.
|
||||||
|
@ -50,6 +54,7 @@ You can define request rate limits in the agent configuration and in the control
|
||||||
- No: Proceed to the next stage.
|
- No: Proceed to the next stage.
|
||||||
- Yes: Return an error that the requested resource has been exhausted.
|
- Yes: Return an error that the requested resource has been exhausted.
|
||||||
1. Handle the request.
|
1. Handle the request.
|
||||||
|
-->
|
||||||
|
|
||||||
## Kubernetes
|
## Kubernetes
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
Loading…
Reference in New Issue