ConsistentHashing: provide use_hostname_for_hashing for eds based discovery. #33430
Labels
area/eds
enhancement
Feature requests. Not bugs or questions.
stale
stalebot believes this issue/PR has not been touched recently
To achieve stable consistent hashing over endpoints in ringhash/maglev when using EDS we need something similar to use_hostname_for_hashing.
In e.g: kubernetes using statefulsets you have endpoints with a stable identity, but whose IP might change during rollouts.
If you use
use_hostname_for_hashing
and STRICT_DNS with the records for each endpoint you can achieve stable consistent hashing during rollouts, with minimal re-shuffling.Can we make
use_hostname_for_hashing
work with EDS by using thehostname
field of Endpoint ?The text was updated successfully, but these errors were encountered: