Created
May 16, 2017 18:02
-
-
Save christian-posta/35224429bedde472572e105e1401b75a to your computer and use it in GitHub Desktop.
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 characters
{ | |
"listeners": [ | |
{ | |
"address": "tcp://0.0.0.0:80", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "ingress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "80", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_server": "istio-mixer:9091", | |
"mixer_attributes": { | |
"target.ip": "172.17.0.12", | |
"target.service": "httpbin.default.svc.cluster.local", | |
"target.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"forward_attributes": { | |
"source.ip": "172.17.0.12", | |
"source.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:8000", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "ingress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "8000", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_server": "istio-mixer:9091", | |
"mixer_attributes": { | |
"target.ip": "172.17.0.12", | |
"target.service": "httpbin.default.svc.cluster.local", | |
"target.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"forward_attributes": { | |
"source.ip": "172.17.0.12", | |
"source.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:8080", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "ingress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "8080", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_server": "istio-mixer:9091", | |
"mixer_attributes": { | |
"target.ip": "172.17.0.12", | |
"target.service": "httpbin.default.svc.cluster.local", | |
"target.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"forward_attributes": { | |
"source.ip": "172.17.0.12", | |
"source.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:8081", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "ingress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "8081", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_server": "istio-mixer:9091", | |
"mixer_attributes": { | |
"target.ip": "172.17.0.12", | |
"target.service": "httpbin.default.svc.cluster.local", | |
"target.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"forward_attributes": { | |
"source.ip": "172.17.0.12", | |
"source.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:8088", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "ingress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "8088", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_server": "istio-mixer:9091", | |
"mixer_attributes": { | |
"target.ip": "172.17.0.12", | |
"target.service": "httpbin.default.svc.cluster.local", | |
"target.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"forward_attributes": { | |
"source.ip": "172.17.0.12", | |
"source.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:9411", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "ingress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "9411", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_server": "istio-mixer:9091", | |
"mixer_attributes": { | |
"target.ip": "172.17.0.12", | |
"target.service": "httpbin.default.svc.cluster.local", | |
"target.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"forward_attributes": { | |
"source.ip": "172.17.0.12", | |
"source.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.148:42422", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.c585980af0793384480c7998912f77c2c410e26c", | |
"destination_ip_list": [ | |
"10.0.0.148/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.148:9091", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.f576d95a3e0e7f57142daccfd0834b399ef96dfe", | |
"destination_ip_list": [ | |
"10.0.0.148/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.148:9094", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.613663238fb620535d24aaf4ed1131d32b9e52e7", | |
"destination_ip_list": [ | |
"10.0.0.148/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.1:443", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.64a5722ae8d6cfbb7c8968b6de8ce26c7c7dd032", | |
"destination_ip_list": [ | |
"10.0.0.1/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.231:80", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.1b33d702979c352c8053a70beacf409f024e98eb", | |
"destination_ip_list": [ | |
"10.0.0.231/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.33:443", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.085861efa91e0636afefc66e54e5bb33fe2239ff", | |
"destination_ip_list": [ | |
"10.0.0.33/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.5:9090", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.12f3dd72236b695f073a0aefd003f84ed1166ec6", | |
"destination_ip_list": [ | |
"10.0.0.5/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.0.0.82:3000", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.2c4950712045e0d7cab567406a89589a45402b30", | |
"destination_ip_list": [ | |
"10.0.0.82/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://172.17.0.12:8000", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "ingress" | |
}, | |
"route_config": { | |
"virtual_hosts": [ | |
{ | |
"name": "httpbin.default.svc.cluster.local|http", | |
"domains": [ | |
"httpbin:8000", | |
"httpbin.default:8000", | |
"httpbin.default.svc:8000", | |
"httpbin.default.svc.cluster:8000", | |
"httpbin.default.svc.cluster.local:8000", | |
"10.0.0.187:8000", | |
"172.17.0.12:8000" | |
], | |
"routes": [ | |
{ | |
"prefix": "/", | |
"cluster": "in.8000", | |
"opaque_config": { | |
"mixer_control": "on", | |
"mixer_forward": "off" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_server": "istio-mixer:9091", | |
"mixer_attributes": { | |
"target.ip": "172.17.0.12", | |
"target.service": "httpbin.default.svc.cluster.local", | |
"target.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"forward_attributes": { | |
"source.ip": "172.17.0.12", | |
"source.uid": "kubernetes://httpbin-2725558654-q7d87.default" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:15001", | |
"filters": [], | |
"bind_to_port": true, | |
"use_original_dst": true | |
} | |
], | |
"admin": { | |
"access_log_path": "/dev/stdout", | |
"address": "tcp://0.0.0.0:15000" | |
}, | |
"cluster_manager": { | |
"clusters": [ | |
{ | |
"name": "in.8000", | |
"connect_timeout_ms": 1000, | |
"type": "static", | |
"lb_type": "round_robin", | |
"hosts": [ | |
{ | |
"url": "tcp://127.0.0.1:8000" | |
} | |
] | |
}, | |
{ | |
"name": "out.085861efa91e0636afefc66e54e5bb33fe2239ff", | |
"service_name": "istio-ingress.default.svc.cluster.local|https", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "out.12f3dd72236b695f073a0aefd003f84ed1166ec6", | |
"service_name": "prometheus.default.svc.cluster.local|prometheus", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "out.1b33d702979c352c8053a70beacf409f024e98eb", | |
"service_name": "istio-egress.default.svc.cluster.local", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "out.2c4950712045e0d7cab567406a89589a45402b30", | |
"service_name": "grafana.default.svc.cluster.local|grafana", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "out.613663238fb620535d24aaf4ed1131d32b9e52e7", | |
"service_name": "istio-mixer.default.svc.cluster.local|configapi", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "out.64a5722ae8d6cfbb7c8968b6de8ce26c7c7dd032", | |
"service_name": "kubernetes.default.svc.cluster.local|https", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "out.c585980af0793384480c7998912f77c2c410e26c", | |
"service_name": "istio-mixer.default.svc.cluster.local|prometheus", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "out.f576d95a3e0e7f57142daccfd0834b399ef96dfe", | |
"service_name": "istio-mixer.default.svc.cluster.local|tcp", | |
"connect_timeout_ms": 1000, | |
"type": "sds", | |
"lb_type": "round_robin" | |
}, | |
{ | |
"name": "zipkin", | |
"connect_timeout_ms": 1000, | |
"type": "strict_dns", | |
"lb_type": "round_robin", | |
"hosts": [ | |
{ | |
"url": "tcp://zipkin:9411" | |
} | |
] | |
}, | |
{ | |
"name": "rds", | |
"connect_timeout_ms": 1000, | |
"type": "strict_dns", | |
"lb_type": "round_robin", | |
"hosts": [ | |
{ | |
"url": "tcp://istio-manager:8080" | |
} | |
] | |
} | |
], | |
"sds": { | |
"cluster": { | |
"name": "sds", | |
"connect_timeout_ms": 1000, | |
"type": "strict_dns", | |
"lb_type": "round_robin", | |
"hosts": [ | |
{ | |
"url": "tcp://istio-manager:8080" | |
} | |
] | |
}, | |
"refresh_delay_ms": 1000 | |
}, | |
"cds": { | |
"cluster": { | |
"name": "cds", | |
"connect_timeout_ms": 1000, | |
"type": "strict_dns", | |
"lb_type": "round_robin", | |
"hosts": [ | |
{ | |
"url": "tcp://istio-manager:8080" | |
} | |
] | |
}, | |
"refresh_delay_ms": 1000 | |
} | |
}, | |
"tracing": { | |
"http": { | |
"driver": { | |
"type": "zipkin", | |
"config": { | |
"collector_cluster": "zipkin", | |
"collector_endpoint": "/api/v1/spans" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment