Created
September 24, 2018 14:04
-
-
Save rjenkins/4c792080b30ddf7c4e3557f65c9971e0 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
node: | |
id: consul1 | |
cluster: envoy | |
locality: | |
zone: "us-west-1a" | |
cluster_manager: | |
local_cluster_name: envoy | |
admin: | |
access_log_path: "/dev/null" | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 8001 } | |
static_resources: | |
listeners: | |
- address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 80 | |
filter_chains: | |
- filters: | |
- name: envoy.http_connection_manager | |
config: | |
stat_prefix: ingress_http | |
codec_type: AUTO | |
route_config: | |
name: local_route | |
virtual_hosts: | |
- name: local_service | |
domains: ["*"] | |
routes: | |
- match: { prefix: "/" } | |
route: { cluster: server } | |
http_filters: | |
- name: envoy.router | |
clusters: | |
- name: server | |
connect_timeout: 0.25s | |
lb_policy: ROUND_ROBIN | |
http_protocol_options: {} | |
common_lb_config: | |
zone_aware_lb_config: { routing_enabled: { value: 100.0 }, min_cluster_size: 1} | |
type: EDS | |
eds_cluster_config: | |
eds_config: | |
api_config_source: | |
api_type: GRPC | |
grpc_services: | |
envoy_grpc: | |
cluster_name: xds_cluster | |
- name: xds_cluster | |
connect_timeout: 0.25s | |
type: STRICT_DNS | |
lb_policy: ROUND_ROBIN | |
common_lb_config: | |
zone_aware_lb_config: { routing_enabled: { value: 100.0 }, min_cluster_size: 1} | |
http2_protocol_options: {} | |
hosts: [{ socket_address: { address: xds, port_value: 9001 }}] | |
- name: envoy | |
connect_timeout: 1s | |
type: STATIC | |
lb_policy: ROUND_ROBIN | |
http2_protocol_options: {} | |
load_assignment: | |
cluster_name: envoy | |
endpoints: | |
- locality: | |
zone: "us-west-1a" | |
lb_endpoints: | |
- endpoint: | |
address: | |
socket_address: | |
address: 127.0.0.1 | |
port_value: 80 | |
- locality: | |
zone: "us-west-1b" | |
lb_endpoints: | |
- endpoint: | |
address: | |
socket_address: | |
address: 127.0.0.1 | |
port_value: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment