Skip to content

Commit f377486

Browse files
orsenthilkishorj
andauthored
Enhance client side throttling information (#2739)
* Enhance client side throttling information Enhance client side throttling information * Update docs/deploy/configurations.md Thank you. Co-authored-by: Kishor Joshi <[email protected]> * Update configurations.md Co-authored-by: Kishor Joshi <[email protected]>
1 parent 2edc214 commit f377486

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/deploy/configurations.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,20 @@ Once disabled:
127127
* you can no longer alter the value of an `alb.ingress.kubernetes.io/group.name` annotation on an existing Ingress.
128128

129129

130-
### Default throttle config
130+
### throttle config
131+
132+
The default throttle config used is.
133+
131134
```
132135
WAF Regional:^AssociateWebACL|DisassociateWebACL=0.5:1,WAF Regional:^GetWebACLForResource|ListResourcesForWebACL=1:1,WAFV2:^AssociateWebACL|DisassociateWebACL=0.5:1,WAFV2:^GetWebACLForResource|ListResourcesForWebACL=1:1
133136
```
137+
Client side throttling enables gradual scaling of the api calls. Additional throttle config can be specified via the `--aws-api-throttle` flag. You can get the ServiceID from the API definition in AWS SDK. For e.g, ELBv2 it is [Elastic Load Balancing v2](https://github.com/aws/aws-sdk-go/blob/main/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json#L9).
138+
139+
Here is an example of throttle config to specify client side throttling of ELBv2 calls.
140+
141+
```
142+
--aws-api-throttle=Elastic Load Balancing v2:RegisterTargets|DeregisterTargets=4:20,Elastic Load Balancing v2:.*=10:40
143+
```
134144
135145
### Instance metadata
136146
If running on EC2, the default values are obtained from the instance metadata service.

0 commit comments

Comments
 (0)