Last active
November 13, 2019 13:12
-
-
Save electric380v/3bb9d23f50dd72d0e1eb0db0193673f2 to your computer and use it in GitHub Desktop.
Revisions
-
electric380v revised this gist
Nov 13, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -52,7 +52,7 @@ "connect_timeout_ms": 250, "type": "sds", "lb_type": "round_robin", "service_name": "tp-web.service.consul" } ], "sds": { -
electric380v created this gist
Nov 13, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,71 @@ { "listeners": [ { "address": "tcp://0.0.0.0:1010", "filters": [ { "type": "read", "name": "http_connection_manager", "config": { "access_log": [ { "path": "/dev/stdout" } ], "codec_type": "auto", "stat_prefix": "ingress_http", "route_config": { "virtual_hosts": [ { "name": "backend", "domains": ["*"], "routes": [ { "timeout_ms": 0, "prefix": "/", "cluster": "nginx.service.consul" } ] } ] }, "filters": [ { "type": "decoder", "name": "router", "config": {} } ] } } ] } ], "admin": { "access_log_path": "/dev/stdout", "address": "tcp://0.0.0.0:8001" }, "cluster_manager": { "clusters": [ { "name": "nginx.service.consul", "connect_timeout_ms": 250, "type": "sds", "lb_type": "round_robin", "service_name": "nginx.service.consul" } ], "sds": { "cluster": { "name": "envoy_consul_sds", "type": "logical_dns", "connect_timeout_ms": 250, "lb_type": "round_robin", "hosts": [ {"url": "tcp://envoy-consul-sds.service.consul:8080"} ] }, "refresh_delay_ms": 1000 } } }