-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvoy.wsh1.yaml
More file actions
66 lines (66 loc) · 1.96 KB
/
envoy.wsh1.yaml
File metadata and controls
66 lines (66 loc) · 1.96 KB
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
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 8080
listener_filters:
- name: "envoy.listener.tls_inspector"
typed_config: {}
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
#"@type": "type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager"
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
codec_type: Http1
stat_prefix: localgw
common_http_protocol_options:
max_connection_duration: 3600s
upgrade_configs:
upgrade_type: "websocket"
# connect_config:
route_config:
name: local_route
virtual_hosts:
- name: backend2
domains:
- "*"
routes:
- match:
#connect_matcher: {}
prefix: "/"
route:
cluster: "cluster_8002"
timeout: 3600s
upgrade_configs:
- upgrade_type: websocket
enabled: true
#connect_config: {}
http_filters:
- name: envoy.filters.http.router
clusters:
- name: cluster_8002
type: strict_dns
connect_timeout: 1s
dns_refresh_rate: 60s
load_assignment:
cluster_name: cluster_8002
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 127.0.0.1
port_value: 8002
http2_protocol_options:
max_concurrent_streams: 100
allow_connect: true
lb_policy: round_robin
admin:
access_log_path: "/dev/null"
address:
socket_address:
address: 0.0.0.0
port_value: 15000