Skip to content

Instantly share code, notes, and snippets.

@mattbailey
Created January 11, 2019 22:40
Show Gist options
  • Select an option

  • Save mattbailey/96bde009784722dd421d64de176eb894 to your computer and use it in GitHub Desktop.

Select an option

Save mattbailey/96bde009784722dd421d64de176eb894 to your computer and use it in GitHub Desktop.
admin:
access_log_path: /tmp/admin_access.log
address:
socket_address: { address: 0.0.0.0, port_value: 9901 }
static_resources:
listeners:
- name: listener1
address:
socket_address: { address: 0.0.0.0, port_value: 51051 }
filter_chains:
- filters:
- name: envoy.http_connection_manager
config:
stat_prefix: grpc_json
codec_type: AUTO
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains: ["*"]
routes:
- match: { prefix: "/" }
route: { cluster: grpc, timeout: { seconds: 60 } }
http_filters:
- name: envoy.router
clusters:
- name: grpc
connect_timeout: 1.25s
type: logical_dns
lb_policy: round_robin
dns_lookup_family: V4_ONLY
http2_protocol_options: {}
hosts:
- socket_address:
address: 127.0.0.1
port_value: 10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment