From a954969cad08b395eed66aac8361dbfa8bbc69d9 Mon Sep 17 00:00:00 2001 From: Sherif Akoush Date: Thu, 7 Nov 2024 10:01:13 +0000 Subject: [PATCH] add keepalive settings to all envoy configs (#6033) --- scheduler/config/envoy-compose.yaml | 7 ++++++- scheduler/config/envoy-local.yaml | 7 ++++++- scheduler/config/envoy-tls.yaml | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/scheduler/config/envoy-compose.yaml b/scheduler/config/envoy-compose.yaml index d45b70979c..2cfa7e5ac8 100644 --- a/scheduler/config/envoy-compose.yaml +++ b/scheduler/config/envoy-compose.yaml @@ -11,7 +11,12 @@ static_resources: socket_address: address: scheduler port_value: 9002 - http2_protocol_options: {} + http2_protocol_options: { + connection_keepalive: { + interval: 60s, + timeout: 2s, + } + } name: xds_cluster - connect_timeout: 0.250s type: LOGICAL_DNS diff --git a/scheduler/config/envoy-local.yaml b/scheduler/config/envoy-local.yaml index 579327175f..e1b1b4960b 100644 --- a/scheduler/config/envoy-local.yaml +++ b/scheduler/config/envoy-local.yaml @@ -11,7 +11,12 @@ static_resources: socket_address: address: 0.0.0.0 port_value: 9002 - http2_protocol_options: {} + http2_protocol_options: { + connection_keepalive: { + interval: 60s, + timeout: 2s, + } + } name: xds_cluster - connect_timeout: 0.250s type: LOGICAL_DNS diff --git a/scheduler/config/envoy-tls.yaml b/scheduler/config/envoy-tls.yaml index 948bfc7bd9..3b002bd633 100644 --- a/scheduler/config/envoy-tls.yaml +++ b/scheduler/config/envoy-tls.yaml @@ -11,7 +11,12 @@ static_resources: socket_address: address: seldon-scheduler port_value: 9002 - http2_protocol_options: {} + http2_protocol_options: { + connection_keepalive: { + interval: 60s, + timeout: 2s, + } + } name: xds_cluster transport_socket: name: "envoy.transport_sockets.tls"