envoyproxy/gateway

Use EDS instead of STRICT_DNS for Ratelimit Cluster in Envoy Gateway

Open

#6,992 opened on Sep 17, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Go (802 forks)auto 404
help wanted

Repository metrics

Stars
 (2,871 stars)
PR merge metrics
 (PR metrics pending)

Description

Description: Currently, the ratelimit cluster that is spawned by Envoy Gateway uses the STRICT_DNS discovery type. However, since the Envoy Gateway is responsible for spawning and managing this service internally, it has full visibility into the ratelimit service and could instead use Endpoint Discovery Service (EDS) — which is the preferred and more dynamic method of service discovery in Envoy.

Using EDS provides several advantages:

  • More flexible scaling and dynamic endpoint management.
  • Avoids reliance on DNS resolution, which can have caching/staleness or timeout issues.
  • Aligns with how other internally-managed services are typically handled in Envoy.

Contributor guide