Skip to content

Instantly share code, notes, and snippets.

@jun06t
Created July 2, 2018 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jun06t/18f2c7738c98990126401f5f7d5d29c1 to your computer and use it in GitHub Desktop.
Save jun06t/18f2c7738c98990126401f5f7d5d29c1 to your computer and use it in GitHub Desktop.
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