March 2020
Intermediate to advanced
626 pages
14h 45m
English
Follow these steps to define the rate limits:
# Script : 04-create-memquota-handler.yamlapiVersion: config.istio.io/v1alpha2kind: handlermetadata: name: quotahandlerspec: compiledAdapter: memquota params: quotas: - name: requestcountquota.instance.istio-system maxAmount: 500 validDuration: 1s overrides: - dimensions: destination: reviews maxAmount: 1 validDuration: 5s - dimensions: destination: productpage maxAmount: 5 validDuration: 1s
The rate limits (quotas) are processed from top to bottom. The values defined before overrides are default values. The default rate limit is 500 requests in 1 second. ...
Read now
Unlock full access