diff --git a/content/docs/tasks/policy-enforcement/rate-limiting/index.md b/content/docs/tasks/policy-enforcement/rate-limiting/index.md index 9043b233ac..1fb5401f60 100644 --- a/content/docs/tasks/policy-enforcement/rate-limiting/index.md +++ b/content/docs/tasks/policy-enforcement/rate-limiting/index.md @@ -73,9 +73,9 @@ so the configuration to enable rate limiting on both adapters is the same. name: handler namespace: istio-system spec: + redisServerUrl: + connectionPoolSize: 10 quotas: - redisServerUrl: - connectionPoolSize: 10 - name: requestcount.quota.istio-system maxAmount: 500 validDuration: 1s @@ -172,6 +172,7 @@ so the configuration to enable rate limiting on both adapters is the same. - name: requestcount.quota.istio-system maxAmount: 500 validDuration: 1s + overrides: - dimensions: destination: reviews maxAmount: 1 diff --git a/content_zh/docs/tasks/policy-enforcement/rate-limiting/index.md b/content_zh/docs/tasks/policy-enforcement/rate-limiting/index.md index 47d8537c39..a96a197785 100644 --- a/content_zh/docs/tasks/policy-enforcement/rate-limiting/index.md +++ b/content_zh/docs/tasks/policy-enforcement/rate-limiting/index.md @@ -60,9 +60,9 @@ keywords: [policies,quotas] name: handler namespace: istio-system spec: + redisServiceUrl: + connectionPoolSize: 10 quotas: - redisServiceUrl: - connectionPoolSize: 10 - name: requestcount.quota.istio-system maxAmount: 500 validDuration: 1s @@ -159,6 +159,7 @@ keywords: [policies,quotas] - name: requestcount.quota.istio-system maxAmount: 500 validDuration: 1s + overrides: - dimensions: destination: reviews maxAmount: 1