mirror of https://github.com/istio/istio.io.git
Task/Enabling Rate Limits: fix quota handlers (#3236)
This commit is contained in:
parent
d6b3bfac56
commit
c16ce69f23
|
@ -73,9 +73,9 @@ so the configuration to enable rate limiting on both adapters is the same.
|
||||||
name: handler
|
name: handler
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
spec:
|
spec:
|
||||||
|
redisServerUrl: <redis_server_url>
|
||||||
|
connectionPoolSize: 10
|
||||||
quotas:
|
quotas:
|
||||||
redisServerUrl: <redis_server_url>
|
|
||||||
connectionPoolSize: 10
|
|
||||||
- name: requestcount.quota.istio-system
|
- name: requestcount.quota.istio-system
|
||||||
maxAmount: 500
|
maxAmount: 500
|
||||||
validDuration: 1s
|
validDuration: 1s
|
||||||
|
@ -172,6 +172,7 @@ so the configuration to enable rate limiting on both adapters is the same.
|
||||||
- name: requestcount.quota.istio-system
|
- name: requestcount.quota.istio-system
|
||||||
maxAmount: 500
|
maxAmount: 500
|
||||||
validDuration: 1s
|
validDuration: 1s
|
||||||
|
overrides:
|
||||||
- dimensions:
|
- dimensions:
|
||||||
destination: reviews
|
destination: reviews
|
||||||
maxAmount: 1
|
maxAmount: 1
|
||||||
|
|
|
@ -60,9 +60,9 @@ keywords: [policies,quotas]
|
||||||
name: handler
|
name: handler
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
spec:
|
spec:
|
||||||
|
redisServiceUrl: <redis_server_url>
|
||||||
|
connectionPoolSize: 10
|
||||||
quotas:
|
quotas:
|
||||||
redisServiceUrl: <redis_server_url>
|
|
||||||
connectionPoolSize: 10
|
|
||||||
- name: requestcount.quota.istio-system
|
- name: requestcount.quota.istio-system
|
||||||
maxAmount: 500
|
maxAmount: 500
|
||||||
validDuration: 1s
|
validDuration: 1s
|
||||||
|
@ -159,6 +159,7 @@ keywords: [policies,quotas]
|
||||||
- name: requestcount.quota.istio-system
|
- name: requestcount.quota.istio-system
|
||||||
maxAmount: 500
|
maxAmount: 500
|
||||||
validDuration: 1s
|
validDuration: 1s
|
||||||
|
overrides:
|
||||||
- dimensions:
|
- dimensions:
|
||||||
destination: reviews
|
destination: reviews
|
||||||
maxAmount: 1
|
maxAmount: 1
|
||||||
|
|
Loading…
Reference in New Issue