Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 817a340

Browse files
SanyaKochharshalier
authored andcommitted
[backport] cherry-pick 05e31c4 into release-v1.2
test(envoy/bootstrap): add keepalive values to bootstrap test (#5192) Adds values to bootstrap test for keepalive changes made in #5189 Signed-off-by: Sanya Kochhar <[email protected]> Signed-off-by: Shalier Xia <[email protected]>
1 parent b26adc1 commit 817a340

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/envoy/bootstrap/config_test.go

+10
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ static_resources:
103103
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
104104
explicit_http_config:
105105
http2_protocol_options: {}
106+
upstream_connection_options:
107+
tcp_keepalive:
108+
keepalive_interval: 5
109+
keepalive_probes: 5
110+
keepalive_time: 60
106111
- load_assignment:
107112
cluster_name: liveness_cluster
108113
endpoints:
@@ -365,6 +370,11 @@ static_resources:
365370
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
366371
explicit_http_config:
367372
http2_protocol_options: {}
373+
upstream_connection_options:
374+
tcp_keepalive:
375+
keepalive_interval: 5
376+
keepalive_probes: 5
377+
keepalive_time: 60
368378
- load_assignment:
369379
cluster_name: my-container-2_liveness_cluster
370380
endpoints:

0 commit comments

Comments
 (0)