Hey @Steven_Sun, you can provide a custom value which applies to all namespaces by updating the dynamic config. The following dynamic config will apply the limit of 2000 rps for each namespace on a single host.
frontend.namespacerps:
- value: 2000
constraints: {}
If you want to have a different value for namespaces you can specify namespace constraints for each namespace with a different value.
frontend.namespacerps:
- value: 2000
- value: 100
constraints:
namespace: "namespaceA"
- value: 500
constraints:
namespace: "namespaceB"
The above config will limit namespaceA rps to 100 and namespaceB rps to 500. All others will use 2000 rps.
Please refer to dynamic config docs for more information.