envoyproxy/gateway
在 GitHub 查看support multiple regions when using PreferLocal/WeightedZones
Open
#8,146 建立於 2026年2月1日
help wantedno stalebot
倉庫指標
- Star
- (2,871 star)
- PR 合併指標
- (PR 指標待抓取)
描述
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:
- Doesn't include LocalityLbConfig when building Maglev clusters (missing in xDS translation)
[optional Relevant Links:]
Any extra documentation required to understand the issue.