-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
admin: Support /drain_listeners?graceful #11639
Changes from 4 commits
4c6f8ce
e569e57
4b98fd2
b9c32ed
d830849
648b121
7b4db20
403a78d
55c013d
b7405df
0164050
5b6d83b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,6 +258,12 @@ modify different aspects of the server: | |
:ref:`Listener <envoy_v3_api_msg_config.listener.v3.Listener>` is used to determine whether a listener | ||
is inbound or outbound. | ||
|
||
.. http:post:: /drain_listeners?graceful | ||
|
||
When draining listeners, enter a graceful drain period prior to closing listeners. | ||
This behaviour and duration is determined by server options for the drain manager, and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please ref link to the relevant config and CLI options. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I couldn't figure out how to ref link to the server options, not sure if the ServerInfo proto is what you mean, but I linked the CLI options. |
||
includes sending H1 connection-close, H2 GOAWAYs, and terminating connections on request complete. | ||
|
||
.. attention:: | ||
|
||
This operation directly stops the matched listeners on workers. Once listeners in a given | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 39 below needs updating. Please take a general pass through this page. You have as good an understanding of this as any, and we expect contributors to care for the docs and improve them as they make changes. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, I'm kind of rushing for a deadline and writing docs in markdown was a little confusing. Reorganized a lot of this doc and added more detail.