envoyproxy/gateway

support multiple regions when using PreferLocal/WeightedZones

Open

#8.146 geöffnet am 1. Feb. 2026

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (802 Forks)auto 404
help wantedno stalebot

Repository-Metriken

Stars
 (2.871 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description: Enable locality_weighted_lb_config for ConsistentHash load balancer type (Maglev/RingHash) in Envoy Gateway, which is already supported by upstream Envoy but not exposed in Envoy Gateway's API.

Use Case: Session affinity with locality preference

Locality-weighted consistent hashing where:

  • ✅ Hash(Session-ID) → picks specific endpoint
  • ✅ Endpoint is in a specific zone → always same zone
  • ✅ Locality weights control the distribution (e.g., 70% in Zone A)

Envoy Gateway's code explicitly:

  1. Doesn't include LocalityLbConfig when building Maglev clusters (missing in xDS translation)

[optional Relevant Links:]

Any extra documentation required to understand the issue.

Contributor Guide