Permalink
Switch branches/tags
Nothing to show
Find file Copy path
1dae58d Jul 9, 2018
2 contributors

Users who have contributed to this file

@christian-posta @smilingleo
83 lines (82 sloc) 1.88 KB
{
"listeners": [
{
"address": "tcp://0.0.0.0:15001",
"filters": [
{
"type": "read",
"name": "http_connection_manager",
"config": {
"codec_type": "auto",
"stat_prefix": "egress_http",
"access_log": [
{
"path": "/tmp/envoy-traffic"
}
],
"generate_request_id": true,
"route_config": {
"virtual_hosts": [
{
"name": "service",
"domains": ["*"],
"routes": [
{
"timeout_ms": 0,
"prefix": "/",
"auto_host_rewrite": true,
"cluster": "httpbin_service",
"shadow": {
"cluster": "httpbin_2"
}
}
]
}
]
},
"filters": [
{
"type": "decoder",
"name": "router",
"config": {}
}
]
}
}
]
}
],
"admin": {
"access_log_path": "/tmp/envoy-admin",
"address": "tcp://127.0.0.1:15000"
},
"cluster_manager": {
"clusters": [
{
"name": "httpbin_2",
"connect_timeout_ms": 5000,
"type": "static",
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://172.17.0.9:8080"
}
]
},
{
"name": "httpbin_service",
"connect_timeout_ms": 5000,
"type": "static",
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://172.17.0.8:8080"
}
]
}
],
"outlier_detection": {
"event_log_path": "/deployments/log"
}
}
}