envoyproxy / envoyproxy/gateway

support multiple regions when using PreferLocal/WeightedZones

Open
#8,146 5 comments 0 reactions 0 assignees View on GitHub
help wanted no stalebot
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

*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

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.