File tree Expand file tree Collapse file tree 2 files changed +20
-16
lines changed
Expand file tree Collapse file tree 2 files changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ resources:
150150{{- range $index, $servicePort := .ServicePorts }}
151151- "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
152152 name: cluster_{{$index}}
153- connect_timeout: 5s
153+ connect_timeout: 3s
154154 type: STATIC
155155 common_lb_config:
156156 healthy_panic_threshold:
@@ -161,11 +161,12 @@ resources:
161161 lb_policy: RANDOM
162162 {{- end}}
163163 health_checks:
164- - timeout: 5s
165- interval: 3s
164+ - timeout: 3s
165+ interval: 2s
166166 unhealthy_threshold: 2
167167 healthy_threshold: 1
168- no_traffic_interval: 5s
168+ initial_jitter: 0s
169+ no_traffic_interval: 3s
169170 always_log_health_check_failures: true
170171 always_log_health_check_success: true
171172 event_log_path: /dev/stdout
Original file line number Diff line number Diff line change @@ -341,18 +341,19 @@ func Test_proxyConfig(t *testing.T) {
341341 resources:
342342 - "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
343343 name: cluster_IPv4_443
344- connect_timeout: 5s
344+ connect_timeout: 3s
345345 type: STATIC
346346 common_lb_config:
347347 healthy_panic_threshold:
348348 value: 0
349349 lb_policy: RANDOM
350350 health_checks:
351- - timeout: 5s
352- interval: 3s
351+ - timeout: 3s
352+ interval: 2s
353353 unhealthy_threshold: 2
354354 healthy_threshold: 1
355- no_traffic_interval: 5s
355+ initial_jitter: 0s
356+ no_traffic_interval: 3s
356357 always_log_health_check_failures: true
357358 always_log_health_check_success: true
358359 event_log_path: /dev/stdout
@@ -381,18 +382,19 @@ func Test_proxyConfig(t *testing.T) {
381382 protocol: TCP
382383 - "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
383384 name: cluster_IPv4_80
384- connect_timeout: 5s
385+ connect_timeout: 3s
385386 type: STATIC
386387 common_lb_config:
387388 healthy_panic_threshold:
388389 value: 0
389390 lb_policy: RANDOM
390391 health_checks:
391- - timeout: 5s
392- interval: 3s
392+ - timeout: 3s
393+ interval: 2s
393394 unhealthy_threshold: 2
394395 healthy_threshold: 1
395- no_traffic_interval: 5s
396+ initial_jitter: 0s
397+ no_traffic_interval: 3s
396398 always_log_health_check_failures: true
397399 always_log_health_check_success: true
398400 event_log_path: /dev/stdout
@@ -494,18 +496,19 @@ func Test_proxyConfig(t *testing.T) {
494496 resources:
495497 - "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
496498 name: cluster_IPv4_80
497- connect_timeout: 5s
499+ connect_timeout: 3s
498500 type: STATIC
499501 common_lb_config:
500502 healthy_panic_threshold:
501503 value: 0
502504 lb_policy: RING_HASH
503505 health_checks:
504- - timeout: 5s
505- interval: 3s
506+ - timeout: 3s
507+ interval: 2s
506508 unhealthy_threshold: 2
507509 healthy_threshold: 1
508- no_traffic_interval: 5s
510+ initial_jitter: 0s
511+ no_traffic_interval: 3s
509512 always_log_health_check_failures: true
510513 always_log_health_check_success: true
511514 event_log_path: /dev/stdout
You can’t perform that action at this time.
0 commit comments