-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvoy_secure.yml
47 lines (44 loc) · 1.3 KB
/
envoy_secure.yml
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
admin:
access_log_path: /tmp/admin_access.log
address:
socket_address: { address: 0.0.0.0, port_value: 9901 }
static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8001 }
filter_chains:
- filters:
- name: envoy.http_connection_manager
config:
stat_prefix: ingress_http
codec_type: AUTO
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains: ["*"]
routes:
- match: { prefix: "/" }
route: { cluster: service_greeter }
http_filters:
- name: envoy.router
tls_context:
common_tls_context:
alpn_protocols: "h2"
tls_certificates:
- certificate_chain: { filename: "/data/cert/pem/crt.pem" }
private_key: { filename: "/data/cert/pem/key.pem" }
clusters:
- name: service_greeter
connect_timeout: 25s
type: LOGICAL_DNS
lb_policy: ROUND_ROBIN
http2_protocol_options: { }
hosts: [{ socket_address: { address: greeter, port_value: 5001 }}]
health_checks:
- timeout: 25s
interval: 1s
unhealthy_threshold: 1
healthy_threshold: 1
grpc_health_check: { }