Last active
January 30, 2021 13:37
-
-
Save mohak1712/b2f2f91a6bdf627b4d5c02037b7281c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
admin: | |
access_log_path: /tmp/admin_access.log | |
address: | |
socket_address: | |
protocol: TCP | |
address: 0.0.0.0 | |
port_value: 1936 | |
static_resources: | |
listeners: | |
- name: listener_0 | |
address: | |
socket_address: | |
protocol: TCP | |
address: 0.0.0.0 | |
port_value: 9091 | |
filter_chains: | |
- filters: | |
- name: envoy.filters.network.redis_proxy | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.filters.network.redis_proxy.v3.RedisProxy | |
stat_prefix: redis_proxy | |
settings: | |
op_timeout: 1s | |
enable_redirection: true | |
prefix_routes: | |
catch_all_route: | |
cluster: standalone_redis | |
request_mirror_policy: | |
cluster: redis_cluster | |
exclude_read_commands: true | |
clusters: | |
- name: standalone_redis | |
connect_timeout: 3s | |
type: STRICT_DNS | |
dns_lookup_family: V4_ONLY | |
load_assignment: | |
cluster_name: standalone_redis | |
endpoints: | |
- lb_endpoints: | |
- endpoint: | |
address: | |
socket_address: | |
address: host.docker.internal | |
port_value: 6379 | |
- name: redis_cluster | |
connect_timeout: 3s | |
cluster_type: | |
name: envoy.clusters.redis | |
dns_lookup_family: V4_ONLY | |
load_assignment: | |
cluster_name: redis_cluster | |
endpoints: | |
- lb_endpoints: | |
- endpoint: | |
address: | |
socket_address: | |
address: host.docker.internal | |
port_value: 7000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment