Skip to content

Commit

Permalink
Update envoy.yaml in Redis proxy example (#8220)
Browse files Browse the repository at this point in the history
Description: Make Redis example use catch_all_route.
Risk Level: Low.
Testing: Done. docker-compose up --build brings up envoy proxy and I was able to run Redis commands using redis-cli.

Signed-off-by: Raju Kadam <[email protected]>
  • Loading branch information
rklabs authored and junr03 committed Sep 16, 2019
1 parent 5d59dd9 commit d159697
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/redis/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ static_resources:
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.redis_proxy.v2.RedisProxy
stat_prefix: egress_redis
cluster: redis_cluster
settings:
op_timeout: 5s
prefix_routes:
catch_all_route:
cluster: redis_cluster
clusters:
- name: redis_cluster
connect_timeout: 1s
Expand Down

0 comments on commit d159697

Please sign in to comment.