Skip to content

Instantly share code, notes, and snippets.

@DavadDi
Last active February 13, 2019 12:38
Show Gist options
  • Save DavadDi/774b74fc66d12fe57af1f3c872199f0d to your computer and use it in GitHub Desktop.
Save DavadDi/774b74fc66d12fe57af1f3c872199f0d to your computer and use it in GitHub Desktop.
{
"configs": {
"listeners": {
},
"clusters": {
"@type": "type.googleapis.com/envoy.admin.v2alpha.ClustersConfigDump",
"version_info": "2019-02-04T17:51:21Z/74",
"static_clusters": [
{
"cluster": {
"name": "prometheus_stats",
"connect_timeout": "0.250s",
"hosts": [
{
"socket_address": {
"address": "127.0.0.1",
"port_value": 15000
}
}
]
},
"last_updated": "2019-01-15T08:25:53.789Z"
},
{
"cluster": {
"name": "xds-grpc",
"type": "STRICT_DNS",
"connect_timeout": "10s",
"hosts": [
{
"socket_address": {
"address": "istio-pilot.istio-system",
"port_value": 15010
}
}
],
"circuit_breakers": {
"thresholds": [
{
"max_connections": 100000,
"max_pending_requests": 100000,
"max_requests": 100000
},
{
"priority": "HIGH",
"max_connections": 100000,
"max_pending_requests": 100000,
"max_requests": 100000
}
]
},
"http2_protocol_options": {},
"upstream_connection_options": {
"tcp_keepalive": {
"keepalive_time": 300
}
}
},
"last_updated": "2019-01-15T08:25:53.789Z"
},
],
"dynamic_active_clusters": [
{
"version_info": "2019-01-15T08:24:55Z/9",
"cluster": {
"name": "BlackHoleCluster",
"connect_timeout": "1s"
},
"last_updated": "2019-01-15T08:25:54.533Z"
},
{
"version_info": "2019-01-15T08:24:55Z/9",
"cluster": {
"name": "inbound|5000||helloworld.default.svc.cluster.local",
"connect_timeout": "1s",
"hosts": [
{
"socket_address": {
"address": "127.0.0.1",
"port_value": 5000
}
}
],
"circuit_breakers": {
"thresholds": [
{}
]
}
},
"last_updated": "2019-01-15T08:25:54.533Z"
},
{
"version_info": "2019-01-17T03:53:50Z/33",
"cluster": {
"name": "outbound|443||www.163.com",
"type": "STRICT_DNS",
"connect_timeout": "1s",
"hosts": [
{
"socket_address": {
"address": "www.163.com",
"port_value": 443
}
}
],
"circuit_breakers": {
"thresholds": [
{}
]
},
"dns_lookup_family": "V4_ONLY"
},
"last_updated": "2019-01-17T03:53:50.279Z"
},
{
"version_info": "2019-01-17T03:53:50Z/33",
"cluster": {
"name": "outbound|443||www.baidu.com",
"type": "STRICT_DNS",
"connect_timeout": "1s",
"hosts": [
{
"socket_address": {
"address": "www.baidu.com",
"port_value": 443
}
},
{
"socket_address": {
"address": "www.baidu.com",
"port_value": 443
}
}
],
"circuit_breakers": {
"thresholds": [
{}
]
},
"dns_lookup_family": "V4_ONLY"
},
"last_updated": "2019-01-17T03:53:50.278Z"
},
{
"version_info": "2019-01-15T08:24:55Z/9",
"cluster": {
"name": "outbound|5000||helloworld.default.svc.cluster.local",
"type": "EDS",
"eds_cluster_config": {
"eds_config": {
"ads": {}
},
"service_name": "outbound|5000||helloworld.default.svc.cluster.local"
},
"connect_timeout": "1s",
"circuit_breakers": {
"thresholds": [
{}
]
}
},
"last_updated": "2019-01-15T08:25:54.499Z"
},
{
"version_info": "2019-01-17T06:28:03Z/37",
"cluster": {
"name": "outbound|80||httpbin.org",
"type": "STRICT_DNS",
"connect_timeout": "1s",
"hosts": [
{
"socket_address": {
"address": "httpbin.org",
"port_value": 80
}
}
],
"circuit_breakers": {
"thresholds": [
{}
]
},
"dns_lookup_family": "V4_ONLY"
},
"last_updated": "2019-01-17T06:28:03.330Z"
},
{
"version_info": "2019-01-17T03:51:55Z/32",
"cluster": {
"name": "outbound|80||www.163.com",
"type": "STRICT_DNS",
"connect_timeout": "1s",
"hosts": [
{
"socket_address": {
"address": "www.163.com",
"port_value": 80
}
}
],
"circuit_breakers": {
"thresholds": [
{}
]
},
"dns_lookup_family": "V4_ONLY"
},
"last_updated": "2019-01-17T03:51:55.901Z"
},
{
"version_info": "2019-01-17T03:51:55Z/32",
"cluster": {
"name": "outbound|80||www.baidu.com",
"type": "STRICT_DNS",
"connect_timeout": "1s",
"hosts": [
{
"socket_address": {
"address": "www.baidu.com",
"port_value": 80
}
}
],
"circuit_breakers": {
"thresholds": [
{}
]
},
"dns_lookup_family": "V4_ONLY"
},
"last_updated": "2019-01-17T03:51:55.900Z"
},
]
},
"bootstrap": {
"@type": "type.googleapis.com/envoy.admin.v2alpha.BootstrapConfigDump",
"bootstrap": {
"node": {
"id": "sidecar~10.128.5.4~helloworld-v1-8f8dd85-cfz42.default~default.svc.cluster.local",
"cluster": "helloworld",
"metadata": {
"istio": "sidecar",
"INTERCEPTION_MODE": "REDIRECT",
"version": "v1",
"ISTIO_PROXY_VERSION": "1.0.2",
"ISTIO_PROXY_SHA": "istio-proxy:930841ca88b15365737acb7eddeea6733d4f98b9",
"ISTIO_VERSION": "1.0.5",
"app": "helloworld",
"POD_NAME": "helloworld-v1-8f8dd85-cfz42"
},
"build_version": "0/1.8.0-dev//RELEASE"
},
"static_resources": {
"listeners": [
{
"address": {
"socket_address": {
"address": "0.0.0.0",
"port_value": 15090
}
},
"filter_chains": [
{
"filters": [
{
"name": "envoy.http_connection_manager",
"config": {
"route_config": {
"virtual_hosts": [
{
"routes": [
{
"route": {
"cluster": "prometheus_stats"
},
"match": {
"prefix": "/stats/prometheus"
}
}
],
"domains": [
"*"
],
"name": "backend"
}
]
},
"codec_type": "AUTO",
"http_filters": {
"name": "envoy.router"
},
"stat_prefix": "stats"
}
}
]
}
]
}
],
"clusters": [
{
"name": "prometheus_stats",
"connect_timeout": "0.250s",
"hosts": [
{
"socket_address": {
"address": "127.0.0.1",
"port_value": 15000
}
}
]
},
{
"name": "xds-grpc",
"type": "STRICT_DNS",
"connect_timeout": "10s",
"hosts": [
{
"socket_address": {
"address": "istio-pilot.istio-system",
"port_value": 15010
}
}
],
"circuit_breakers": {
"thresholds": [
{
"max_connections": 100000,
"max_pending_requests": 100000,
"max_requests": 100000
},
{
"priority": "HIGH",
"max_connections": 100000,
"max_pending_requests": 100000,
"max_requests": 100000
}
]
},
"http2_protocol_options": {},
"upstream_connection_options": {
"tcp_keepalive": {
"keepalive_time": 300
}
}
},
{
"name": "zipkin",
"type": "STRICT_DNS",
"connect_timeout": "1s",
"hosts": [
{
"socket_address": {
"address": "zipkin.istio-system",
"port_value": 9411
}
}
]
}
]
},
"dynamic_resources": {
"lds_config": {
"ads": {}
},
"cds_config": {
"ads": {}
},
"ads_config": {
"api_type": "GRPC",
"refresh_delay": "1s",
"grpc_services": [
{
"envoy_grpc": {
"cluster_name": "xds-grpc"
}
}
]
}
},
"tracing": {
"http": {
"name": "envoy.zipkin",
"config": {
"collector_cluster": "zipkin"
}
}
},
"admin": {
"access_log_path": "/dev/null",
"address": {
"socket_address": {
"address": "127.0.0.1",
"port_value": 15000
}
}
},
"stats_config": {
}
},
"last_updated": "2019-01-15T08:25:53.785Z"
},
"routes": {
"@type": "type.googleapis.com/envoy.admin.v2alpha.RoutesConfigDump",
"static_route_configs": [
{
"route_config": {
"name": "inbound|5000||helloworld.default.svc.cluster.local",
"virtual_hosts": [
{
"name": "inbound|http|5000",
"domains": [
"*"
],
"routes": [
{
"match": {
"prefix": "/"
},
"route": {
"cluster": "inbound|5000||helloworld.default.svc.cluster.local",
"timeout": "0s",
"max_grpc_timeout": "0s"
},
"decorator": {
"operation": "helloworld.default.svc.cluster.local:5000/*"
},
"per_filter_config": {
}
}
]
}
],
"validate_clusters": false
},
"last_updated": "2019-01-15T08:25:54.586Z"
},
{
"route_config": {
"name": "inbound|5000||helloworld.default.svc.cluster.local",
"virtual_hosts": [
{
"name": "inbound|http|5000",
"domains": [
"*"
],
"routes": [
{
"match": {
"prefix": "/"
},
"route": {
"cluster": "inbound|5000||helloworld.default.svc.cluster.local",
"timeout": "0s",
"max_grpc_timeout": "0s"
},
"decorator": {
"operation": "helloworld.default.svc.cluster.local:5000/*"
},
"per_filter_config": {
}
}
]
}
],
"validate_clusters": false
},
"last_updated": "2019-01-15T08:25:54.587Z"
},
],
"dynamic_route_configs": [
{
"version_info": "2019-01-15T08:24:55Z/9",
"route_config": {
"name": "5000",
"virtual_hosts": [
{
"name": "helloworld.default.svc.cluster.local:5000",
"domains": [
"helloworld.default.svc.cluster.local",
"helloworld.default.svc.cluster.local:5000",
"helloworld",
"helloworld:5000",
"helloworld.default.svc.cluster",
"helloworld.default.svc.cluster:5000",
"helloworld.default.svc",
"helloworld.default.svc:5000",
"helloworld.default",
"helloworld.default:5000",
"10.0.113.73",
"10.0.113.73:5000"
],
"routes": [
{
"match": {
"prefix": "/"
},
"route": {
"cluster": "outbound|5000||helloworld.default.svc.cluster.local",
"timeout": "0s",
"max_grpc_timeout": "0s"
},
"decorator": {
"operation": "helloworld.default.svc.cluster.local:5000/*"
},
"per_filter_config": {
}
}
]
}
],
"validate_clusters": false
},
"last_updated": "2019-02-04T17:51:24.878Z"
},
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment