eg-rate-limit

Apply local and global rate limits to Envoy Gateway via BackendTrafficPolicy.

3|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/missBerg/envoy-skills --skill eg-rate-limit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eg-rate-limit
Source: https://github.com/missBerg/envoy-skills/tree/main/gateway/adopters/skills/eg-rate-limit
Command: npx skills add https://github.com/missBerg/envoy-skills --skill eg-rate-limit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rate limiting for Envoy Gateway protects backend services from overload, reduces abuse, and enforces usage quotas at the edge.

Core Features & Use Cases

  • Local rate limiting (per Envoy instance) requires no external services and dampens bursts quickly.
  • Global rate limiting (Redis-backed) enforces a shared quota across all instances and gateways.
  • Combined mode lets you apply both local and global limits for layered protection across routes or gateways.

Quick Start

Create a BackendTrafficPolicy that enables local, global, or combined rate limits on the relevant HTTPRoute or Gateway.

Frequently Asked Questions about eg-rate-limit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply rate limits to Envoy Gateway in Kubernetes?

You apply rate limits to Envoy Gateway by creating a BackendTrafficPolicy that targets your HTTPRoute or Gateway resources, enabling per-route or per-gateway throttling to protect backend services from overload.

What is the difference between local and global rate limiting in Envoy Gateway?

Local rate limiting operates per Envoy instance to dampen bursts without external dependencies, while global rate limiting uses Redis to enforce shared quotas across all instances and gateways.

Can I use Redis for shared rate limit quotas across multiple Envoy Gateway instances?

Yes, Redis backs global rate limiting to enforce a shared quota across all instances and gateways, ensuring consistent throttling for per-client quotas defined in your BackendTrafficPolicy.

Does Envoy Gateway support combined local and global rate limiting on the same HTTPRoute?

Yes, combined mode lets you apply both local and global rate limits simultaneously for layered protection across routes or gateways using BackendTrafficPolicy with clientSelectors and rateLimit rules.

How do I configure per-client rate limits using BackendTrafficPolicy?

You configure per-client quotas by defining clientSelectors and rateLimit rules within a BackendTrafficPolicy, which then applies the throttling logic to your specified HTTPRoute or Gateway resources.

Do I need an external service for local rate limiting in Envoy Gateway?

No, local rate limiting requires no external services and operates directly per Envoy instance to dampen traffic bursts quickly before they reach your backend services.