Skip to content

Instantly share code, notes, and snippets.

@DavadDi
Created February 14, 2019 06:19
Show Gist options
  • Save DavadDi/3aea82343790e795cce066aab79e9c2c to your computer and use it in GitHub Desktop.
Save DavadDi/3aea82343790e795cce066aab79e9c2c to your computer and use it in GitHub Desktop.
{
"configs": {
"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": {
"mixer": {
"mixer_attributes": {
"attributes": {
"destination.service.name": {
"string_value": "helloworld"
},
"destination.service.namespace": {
"string_value": "default"
},
"destination.service": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.host": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.uid": {
"string_value": "istio://default/services/helloworld"
}
}
}
}
}
}
]
}
],
"validate_clusters": false
},
"last_updated": "2019-02-13T09:28:38.023Z"
},
{
"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-02-13T09:28:38.025Z"
},
],
"dynamic_route_configs": [
{
"version_info": "2019-02-13T12:52:07Z/11",
"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": {
"weighted_clusters": {
"clusters": [
{
"name": "outbound|5000|v1|helloworld.default.svc.cluster.local",
"weight": 90,
"per_filter_config": {
"mixer": {
"forward_attributes": {
"attributes": {
"destination.service.namespace": {
"string_value": "default"
},
"destination.service.name": {
"string_value": "helloworld"
},
"destination.service": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.host": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.uid": {
"string_value": "istio://default/services/helloworld"
}
}
},
"mixer_attributes": {
"attributes": {
"destination.service.uid": {
"string_value": "istio://default/services/helloworld"
},
"destination.service.host": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.namespace": {
"string_value": "default"
},
"destination.service.name": {
"string_value": "helloworld"
},
"destination.service": {
"string_value": "helloworld.default.svc.cluster.local"
}
}
},
"disable_check_calls": true
}
}
},
{
"name": "outbound|5000|v2|helloworld.default.svc.cluster.local",
"weight": 10,
"per_filter_config": {
"mixer": {
"forward_attributes": {
"attributes": {
"destination.service.name": {
"string_value": "helloworld"
},
"destination.service.namespace": {
"string_value": "default"
},
"destination.service": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.host": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.uid": {
"string_value": "istio://default/services/helloworld"
}
}
},
"mixer_attributes": {
"attributes": {
"destination.service.uid": {
"string_value": "istio://default/services/helloworld"
},
"destination.service.host": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.namespace": {
"string_value": "default"
},
"destination.service.name": {
"string_value": "helloworld"
},
"destination.service": {
"string_value": "helloworld.default.svc.cluster.local"
}
}
},
"disable_check_calls": true
}
}
}
]
},
"timeout": "0s",
"max_grpc_timeout": "0s"
},
"decorator": {
"operation": "helloworld:5000/*"
},
"per_filter_config": {
"mixer": {
"disable_check_calls": true
}
}
}
]
}
],
"validate_clusters": false
},
"last_updated": "2019-02-13T12:52:07.393Z"
},
{
"version_info": "2019-02-13T12:52:07Z/11",
"route_config": {
"name": "80",
"virtual_hosts": [
{
"name": "helloworld.default.svc.cluster.local:80",
"domains": [
"helloworld.default.svc.cluster.local",
"helloworld.default.svc.cluster.local:80"
],
"routes": [
{
"match": {
"prefix": "/"
},
"route": {
"weighted_clusters": {
"clusters": [
{
"name": "outbound|80|v1|helloworld.default.svc.cluster.local",
"weight": 90,
"per_filter_config": {
"mixer": {
"forward_attributes": {
"attributes": {
"destination.service.host": {
"string_value": "helloworld.default.svc.cluster.local"
},
"destination.service.uid": {
"string_value": "istio://default/services/helloworld"
},
"destination.service.namespace": {
"string_value": "default"
},
"destination.service.name": {
"string_value": "helloworld"
},
"destination.service": {
"string_value": "helloworld.default.svc.cluster.local"
}
}
},
"mixer_attributes": {
},
"disable_check_calls": true
}
}
},
{
"name": "outbound|80|v2|helloworld.default.svc.cluster.local",
"weight": 10,
"per_filter_config": {
}
}
]
},
"timeout": "0s",
"max_grpc_timeout": "0s"
},
"decorator": {
"operation": "helloworld:80/*"
},
"per_filter_config": {
"mixer": {
"disable_check_calls": true
}
}
}
]
}
]
},
"listeners": {
},
"clusters": {
"@type": "type.googleapis.com/envoy.admin.v2alpha.ClustersConfigDump",
"version_info": "2019-02-13T12:52:07Z/11",
"static_clusters": [
{
"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-02-13T09:28:36.764Z"
},
],
"dynamic_active_clusters": [
{
"version_info": "2019-02-13T09:28:16Z/7",
"cluster": {
"name": "BlackHoleCluster",
"connect_timeout": "1s"
},
"last_updated": "2019-02-13T09:28:37.971Z"
},
{
"version_info": "2019-02-13T09:28:16Z/7",
"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-02-13T09:28:37.971Z"
},
{
"version_info": "2019-02-13T12:41:46Z/10",
"cluster": {
"name": "outbound|5000|v1|helloworld.default.svc.cluster.local",
"type": "EDS",
"eds_cluster_config": {
"eds_config": {
"ads": {}
},
"service_name": "outbound|5000|v1|helloworld.default.svc.cluster.local"
},
"connect_timeout": "1s",
"circuit_breakers": {
"thresholds": [
{}
]
}
},
"last_updated": "2019-02-13T12:41:46.640Z"
},
{
"version_info": "2019-02-13T12:41:46Z/10",
"cluster": {
"name": "outbound|5000|v2|helloworld.default.svc.cluster.local",
"type": "EDS",
"eds_cluster_config": {
"eds_config": {
"ads": {}
},
"service_name": "outbound|5000|v2|helloworld.default.svc.cluster.local"
},
"connect_timeout": "1s",
"circuit_breakers": {
"thresholds": [
{}
]
}
},
"last_updated": "2019-02-13T12:41:46.641Z"
},
{
"version_info": "2019-02-13T09:28:16Z/7",
"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-02-13T09:28:37.928Z"
},
]
},
"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": {
"POD_NAME": "helloworld-v1-8f8dd85-cfz42",
"INTERCEPTION_MODE": "REDIRECT",
"istio": "sidecar",
"version": "v1",
"ISTIO_PROXY_VERSION": "1.0.2",
"ISTIO_PROXY_SHA": "istio-proxy:930841ca88b15365737acb7eddeea6733d4f98b9",
"ISTIO_VERSION": "1.0.5",
"app": "helloworld"
},
"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": [
{
"name": "backend",
"routes": [
{
"route": {
"cluster": "prometheus_stats"
},
"match": {
"prefix": "/stats/prometheus"
}
}
],
"domains": [
"*"
]
}
]
},
"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": {
"stats_tags": [
{
"tag_name": "cluster_name",
"regex": "^cluster\\.((.+?(\\..+?\\.svc\\.cluster\\.local)?)\\.)"
},
{
"tag_name": "tcp_prefix",
"regex": "^tcp\\.((.*?)\\.)\\w+?$"
},
{
"tag_name": "response_code",
"regex": "_rq(_(\\d{3}))$"
},
{
"tag_name": "response_code_class",
"regex": "_rq(_(\\dxx))$"
},
{
"tag_name": "http_conn_manager_listener_prefix",
"regex": "^listener(?=\\.).*?\\.http\\.(((?:[_.[:digit:]]*|[_\\[\\]aAbBcCdDeEfF[:digit:]]*))\\.)"
},
{
"tag_name": "http_conn_manager_prefix",
"regex": "^http\\.(((?:[_.[:digit:]]*|[_\\[\\]aAbBcCdDeEfF[:digit:]]*))\\.)"
},
{
"tag_name": "listener_address",
"regex": "^listener\\.(((?:[_.[:digit:]]*|[_\\[\\]aAbBcCdDeEfF[:digit:]]*))\\.)"
}
],
"use_all_default_tags": false
}
},
"last_updated": "2019-02-13T09:28:36.760Z"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment