Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion compose.latency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,14 @@ services:
node9:
condition: service_healthy
envoy:
image: envoyproxy/envoy:v1.23.1
image: envoyproxy/envoy:v1.35.3
restart: "${RESTART_POLICY:-always}"
command:
- envoy
- -c
- /etc/envoy/envoy.yaml
- -l
- warn
ports:
- "3000:10000"
- "7000:10001"
Expand Down
14 changes: 8 additions & 6 deletions test/proxy/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ static_resources:
enable_hashtagging: true
enable_redirection: true
read_policy: PREFER_REPLICA
dns_cache_config:
name: redis
prefix_routes:
catch_all_route:
cluster: redis
Expand All @@ -48,9 +50,9 @@ static_resources:
endpoints:
- lb_endpoints:
- endpoint: { address: { socket_address: { address: node1, port_value: 6379 } } }
layered_runtime:
layers:
- name: redis
static_layer:
overload:
global_downstream_max_connections: 100
overload_manager:
resource_monitors:
- name: envoy.resource_monitors.global_downstream_max_connections
typed_config:
"@type": type.googleapis.com/envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig
max_active_downstream_connections: 100