envoyproxy/envoy
Auf GitHub ansehenAdd an option to shutdown when connections reach zero
Open
#3.837 geöffnet am 10. Juli 2018
enhancementhelp wanted
Repository-Metriken
- Stars
- (27.997 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)
Beschreibung
Description: For graceful shutdown scenarios described in #1990 we largely have what we need, but it would be extra helpful to allow envoy to exit once ingress connections reach zero.
Basically if we have a service that wants to:
- Use envoy for ingress and egress
- Has a potentially long and highly variable drain time (e.g. 5 min to 4 hours)
It would be nice if we could have a sigterm:
- unbind from ingress ports and begin draining the connections.
- leave egress open for any inflight requests Note: #1 and #2 are already supported
- Once all of the ingress (or all!) connections have closed then have envoy exit.
Relevant Links: https://github.com/envoyproxy/envoy/issues/1990