envoyproxy/envoy

Load balance long-lived connections upon auto scale-out or scale-in of Envoy

Open

#15,283 opened on Mar 3, 2021

View on GitHub
 (13 comments) (4 reactions) (0 assignees)C++ (5,373 forks)batch import
area/adminhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Consider a scenario where there is auto scale-out of Envoy. In such a situation, I would actually like to drain few connections from an old instance and transfer that load to the newly scaled-out instance. Currently, I cannot find a way to drain a certain amount of connections an Envoy instance handles.

Would it be possible to have some sort of configuration where we could set the percentage of connections to drain based on certain parameters like number of connections per envoy instance or the total number of connections ?

Contributor guide