-
Notifications
You must be signed in to change notification settings - Fork 0
/
app2-envoy.yaml
72 lines (72 loc) · 1.79 KB
/
app2-envoy.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
node:
cluster: test-chute
id: app2-envoy
static_resources:
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 6379
filter_chains:
- filters:
- name: envoy.tcp_proxy
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.tcp_proxy.v2.TcpProxy
stat_prefix: egress_envoy
cluster: ingress_envoy
clusters:
- name: chute
connect_timeout: 1s
type: strict_dns
http2_protocol_options: {}
upstream_connection_options:
tcp_keepalive:
keepalive_time: 300
load_assignment:
cluster_name: chute
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: chute
port_value: 18000
- name: ingress_envoy
type: STRICT_DNS
connect_timeout: 1s
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: ingress_envoy
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: ingress-envoy
port_value: 6379
tls_context:
sni: "redis2"
common_tls_context:
tls_certificate_sds_secret_configs:
- name: app2_cert
sds_config:
api_config_source:
api_type: GRPC
grpc_services:
envoy_grpc:
cluster_name: chute
validation_context_sds_secret_config:
name: app_ca
sds_config:
api_config_source:
api_type: GRPC
grpc_services:
envoy_grpc:
cluster_name: chute
admin:
access_log_path: /dev/null
address:
socket_address:
protocol: TCP
address: 0.0.0.0
port_value: 8001