-
Notifications
You must be signed in to change notification settings - Fork 2
/
envoy-config.yaml
48 lines (46 loc) · 1.12 KB
/
envoy-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
admin:
access_log_path: /dev/stdout
address:
socket_address:
address: 0.0.0.0
port_value: 8081
node:
cluster: hello-service
id: node1
static_resources:
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 82
filter_chains:
- filters:
- name: envoy.filters.network.redis_proxy
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.redis_proxy.v2.RedisProxy
stat_prefix: redis-stat
settings:
op_timeout: 3s
prefix_routes:
routes:
- prefix: ""
cluster: redis
clusters:
- name: redis
connect_timeout: 0.25s
type: strict_dns
lb_policy: round_robin
hosts:
- socket_address:
address: 127.0.0.1
port_value: 6379
health_checks:
timeout: 1s
interval: 10s
unhealthy_threshold: 9
healthy_threshold: 0
custom_health_check:
name: envoy.health_checkers.redis
typed_config:
"@type": type.googleapis.com/envoy.config.health_checker.redis.v2.Redis
key: foo