envoyproxy / envoyproxy/envoy

Add an option to shutdown when connections reach zero

オープン
#3,837 コメント 19 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement help wanted
主要言語
C++
スター
28.9k
フォーク
5.6k
平均マージ
1日 22時間
マージ済み PR(30日)
430

説明

*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:
1. Use envoy for ingress and egress
2. 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:
1. unbind from ingress ports and begin draining the connections.
2. leave egress open for any inflight requests
Note: #1 and #2 are already supported
3. Once all of the ingress (or all!) connections have closed then have envoy exit.

*Relevant Links*:
https://github.com/envoyproxy/envoy/issues/1990

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。