GuidesUsing the ConsoleGovernance
Rate limit
Create local/cluster rate limits: target, API match, QPS/concurrency, and effects.
Wizard type: Rate limit (create kind ratelimit-local).

Steps
- Create rule → Rate limit.
- Fill and save:
- Basics: kebab-case name, priority, enable, labels
- Target: namespace, service, mode (single-instance / cluster)
- Sub-rules (≥1): match APIs → optional conditions → QPS or concurrency → effect (fail-fast / queue; custom JSON response)
- Publish.
Modes
| UI | Notes |
|---|---|
| Single-instance | Default create path; queue wait allowed |
| Cluster | Switch in editor; fail-fast only |
List labels may say local/global/distributed—trust the editor mode.
Checks
- ≥1 sub-rule with ≥1 API and non-empty path
- Window / concurrency amounts >0
- Custom response must be valid JSON