Lattice Hub Docs
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).

Rate-limit editor

Steps

  1. Create rule → Rate limit.
  2. Fill and save:
    1. Basics: kebab-case name, priority, enable, labels
    2. Target: namespace, service, mode (single-instance / cluster)
    3. Sub-rules (≥1): match APIs → optional conditions → QPS or concurrency → effect (fail-fast / queue; custom JSON response)
  3. Publish.

Modes

UINotes
Single-instanceDefault create path; queue wait allowed
ClusterSwitch 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

On this page