From 9541205383664e6b4a48929846d1edf047e122d8 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Mon, 18 Mar 2019 03:49:36 +0000 Subject: [PATCH] Update example ADS bootstrap config to specify TCP Keep-Alive options (#6231) Update ADS protocol docs to specify a Keep-Alive so others consider adding it in. If the Keep-Alive parameters are not specified, it's very easy to end up in a TCP Half Open state during a network glitch/force disconnect where the Envoy thinks it's connected to the ADS server when it's not. Risk Level: Low Testing: Docs Changes: N/A Release Notes: N/A Somewhat addresses: #5173 Signed-off-by: Suhail Patel Mirrored from https://github.com/envoyproxy/envoy @ 0286b82280d33d39b5fec7dbc6be34d2fc943c7d --- XDS_PROTOCOL.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/XDS_PROTOCOL.md b/XDS_PROTOCOL.md index f32b2eef..4246f172 100644 --- a/XDS_PROTOCOL.md +++ b/XDS_PROTOCOL.md @@ -297,6 +297,11 @@ static_resources: port_value: lb_policy: ROUND_ROBIN http2_protocol_options: {} + upstream_connection_options: + # configure a TCP keep-alive to detect and reconnect to the admin + # server in the event of a TCP socket disconnection + tcp_keepalive: + ... admin: ...