Created
June 27, 2018 00:44
-
-
Save jun06t/1f8ff1e0e5f51f155f90adbf86fdc686 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: 8000 | |
filter_chains: | |
- filters: | |
- name: envoy.http_connection_manager | |
config: | |
codec_type: auto | |
stat_prefix: ingress_http | |
route_config: | |
name: local_route | |
virtual_hosts: | |
- name: backend | |
domains: | |
- "*" | |
routes: | |
- match: | |
prefix: "/" | |
route: | |
cluster: grpc | |
access_log: | |
- name: envoy.file_access_log | |
config: | |
path: "/dev/stdout" | |
http_filters: | |
- name: envoy.router | |
config: {} | |
clusters: | |
- name: grpc | |
connect_timeout: 0.25s | |
type: strict_dns | |
lb_policy: round_robin | |
http2_protocol_options: {} | |
health_checks: | |
- timeout: 5s | |
interval: 10s | |
unhealthy_threshold: 2 | |
healthy_threshold: 2 | |
tcp_health_check: {} | |
hosts: | |
- socket_address: | |
address: backend | |
port_value: 8080 | |
admin: | |
access_log_path: /dev/null | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 8001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment