Created
July 2, 2018 01:21
-
-
Save jun06t/18f2c7738c98990126401f5f7d5d29c1 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
static_resources: | |
listeners: | |
- address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 10000 | |
filter_chains: | |
- filters: | |
- name: envoy.http_connection_manager | |
config: | |
codec_type: auto | |
stat_prefix: ingress_http | |
route_config: | |
name: local_route | |
virtual_hosts: | |
- name: service | |
domains: | |
- "*" | |
routes: | |
- match: | |
prefix: "/" | |
route: | |
cluster: local_service | |
access_log: | |
- name: envoy.file_access_log | |
config: | |
path: "/dev/stdout" | |
http_filters: | |
- name: envoy.router | |
config: {} | |
clusters: | |
- name: local_service | |
http2_protocol_options: {} | |
connect_timeout: 0.25s | |
type: static | |
lb_policy: round_robin | |
health_checks: | |
- timeout: 5s | |
interval: 10s | |
unhealthy_threshold: 2 | |
healthy_threshold: 2 | |
tcp_health_check: {} | |
hosts: | |
- socket_address: | |
address: 127.0.0.1 | |
port_value: 8080 | |
admin: | |
access_log_path: /dev/null | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 10001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment