Skip to content

Instantly share code, notes, and snippets.

@dnivra26
Last active November 4, 2018 09:20
Show Gist options
  • Save dnivra26/0111e2a86c455b3d3db8e7562dced533 to your computer and use it in GitHub Desktop.
Save dnivra26/0111e2a86c455b3d3db8e7562dced533 to your computer and use it in GitHub Desktop.
---
admin:
access_log_path: "/tmp/admin_access.log"
address:
socket_address:
address: "127.0.0.1"
port_value: 9901
static_resources:
listeners:
-
name: "http_listener"
address:
socket_address:
address: "0.0.0.0"
port_value: 80
filter_chains:
filters:
-
name: "envoy.http_connection_manager"
config:
stat_prefix: "ingress"
route_config:
name: "local_route"
virtual_hosts:
-
name: "http-route"
domains:
- "*"
routes:
-
match:
prefix: "/"
route:
cluster: "service_a"
http_filters:
-
name: "envoy.router"
clusters:
-
name: "service_a"
connect_timeout: "0.25s"
type: "strict_dns"
lb_policy: "ROUND_ROBIN"
hosts:
-
socket_address:
address: "service_a_envoy"
port_value: 8786
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment