diff --git a/compose.latency.yaml b/compose.latency.yaml index 1ccfeb6..761e885 100644 --- a/compose.latency.yaml +++ b/compose.latency.yaml @@ -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" diff --git a/test/proxy/envoy.yaml b/test/proxy/envoy.yaml index 3c4d222..a39e83e 100644 --- a/test/proxy/envoy.yaml +++ b/test/proxy/envoy.yaml @@ -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 @@ -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