Skip to content

Instantly share code, notes, and snippets.

@mdhume
Created October 23, 2019 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdhume/bf262a5ec426d37e6aa94ddfeb328760 to your computer and use it in GitHub Desktop.
Save mdhume/bf262a5ec426d37e6aa94ddfeb328760 to your computer and use it in GitHub Desktop.
{
"@type": "type.googleapis.com/envoy.admin.v2alpha.ListenersConfigDump",
"version_info": "2019-10-23T19:12:45Z/446",
"static_listeners": [
{
"listener": {
"address": {
"socket_address": {
"address": "0.0.0.0",
"port_value": 15090
}
},
"filter_chains": [
{
"filters": [
{
"name": "envoy.http_connection_manager",
"config": {
"http_filters": {
"name": "envoy.router"
},
"stat_prefix": "stats",
"route_config": {
"virtual_hosts": [
{
"routes": [
{
"route": {
"cluster": "prometheus_stats"
},
"match": {
"prefix": "/stats/prometheus"
}
}
],
"domains": [
"*"
],
"name": "backend"
}
]
},
"codec_type": "AUTO"
}
}
]
}
]
},
"last_updated": "2019-10-23T00:09:27.356Z"
}
],
"dynamic_active_listeners": [
{
"version_info": "2019-10-23T00:09:16Z/407",
"listener": {
"name": "virtualOutbound",
"address": {
"socket_address": {
"address": "0.0.0.0",
"port_value": 15001
}
},
"filter_chains": [
{
"filter_chain_match": {
"prefix_ranges": [
{
"address_prefix": "1.1.1.1",
"prefix_len": 32
},
{
"address_prefix": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"prefix_len": 128
}
]
},
"filters": [
{
"name": "envoy.tcp_proxy",
"config": {
"cluster": "BlackHoleCluster",
"stat_prefix": "BlackHoleCluster"
}
}
]
},
{
"filters": [
{
"name": "mixer",
"config": {
"transport": {
"report_batch_max_time": "1s",
"network_fail_policy": {
"max_retry_wait": "1s",
"base_retry_wait": "0.080s"
},
"report_cluster": "outbound|9091||istio-telemetry.istio-system.svc.yahoo.local",
"report_batch_max_entries": 1000,
"check_cluster": "outbound|9091||istio-policy.istio-system.svc.yahoo.local"
},
"mixer_attributes": {
"attributes": {
"source.namespace": {
"string_value": "frontpage-k8s-frontend"
},
"destination.service.host": {
"string_value": "BlackHoleCluster"
},
"context.reporter.kind": {
"string_value": "outbound"
},
"context.proxy_version": {
"string_value": "1.3.2"
},
"context.reporter.uid": {
"string_value": "kubernetes://tdv2-app-fp--canary-sg3-58477b7555-6b6pc.frontpage-k8s-frontend"
},
"source.uid": {
"string_value": "kubernetes://tdv2-app-fp--canary-sg3-58477b7555-6b6pc.frontpage-k8s-frontend"
}
}
},
"disable_check_calls": true
}
},
{
"name": "envoy.tcp_proxy",
"config": {
"cluster": "BlackHoleCluster",
"stat_prefix": "BlackHoleCluster"
}
}
]
}
],
"use_original_dst": true
},
"last_updated": "2019-10-23T00:09:29.075Z"
},
{
"version_info": "2019-10-23T19:12:45Z/446",
"listener": {
"name": "0.0.0.0_443",
"address": {
"socket_address": {
"address": "0.0.0.0",
"port_value": 443
}
},
"filter_chains": [
{
"filter_chain_match": {
"prefix_ranges": [
{
"address_prefix": "1.1.1.1",
"prefix_len": 32
},
{
"address_prefix": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"prefix_len": 128
}
]
},
"filters": [
{
"name": "mixer",
"config": {
"transport": {
"report_batch_max_entries": 1000,
"check_cluster": "outbound|9091||istio-policy.istio-system.svc.yahoo.local",
"report_batch_max_time": "1s",
"network_fail_policy": {
"base_retry_wait": "0.080s",
"max_retry_wait": "1s"
},
"report_cluster": "outbound|9091||istio-telemetry.istio-system.svc.yahoo.local"
},
"disable_check_calls": true,
"mixer_attributes": {
"attributes": {
"context.reporter.uid": {
"string_value": "kubernetes://app1-58477b7555-6b6pc.ns1"
},
"context.proxy_version": {
"string_value": "1.3.2"
},
"source.uid": {
"string_value": "kubernetes://app1-58477b7555-6b6pc.ns1"
},
"source.namespace": {
"string_value": "ns1"
},
"destination.service.host": {
"string_value": "abc"
},
"destination.service.name": {
"string_value": "abc"
},
"destination.service.namespace": {
"string_value": "ns1"
},
"context.reporter.kind": {
"string_value": "outbound"
}
}
}
}
},
{
"name": "envoy.tcp_proxy",
"config": {
"stat_prefix": "BlackHoleCluster",
"cluster": "BlackHoleCluster"
}
}
]
},
{
"filter_chain_match": {
"server_names": [
"www.yahoo.com"
]
},
"filters": [
{
"name": "mixer",
"config": {
"transport": {
"network_fail_policy": {
"base_retry_wait": "0.080s",
"max_retry_wait": "1s"
},
"report_batch_max_time": "1s",
"report_cluster": "outbound|9091||istio-telemetry.istio-system.svc.yahoo.local",
"check_cluster": "outbound|9091||istio-policy.istio-system.svc.yahoo.local",
"report_batch_max_entries": 1000
},
"mixer_attributes": {
"attributes": {
"context.reporter.uid": {
"string_value": "kubernetes://app1-58477b7555-6b6pc.ns1"
},
"context.proxy_version": {
"string_value": "1.3.2"
},
"source.uid": {
"string_value": "kubernetes://app1-58477b7555-6b6pc.ns1"
},
"source.namespace": {
"string_value": "ns1"
},
"destination.service.host": {
"string_value": "www.yahoo.com"
},
"destination.service.namespace": {
"string_value": "ns1"
},
"destination.service.name": {
"string_value": "www.yahoo.com"
},
"context.reporter.kind": {
"string_value": "outbound"
}
}
},
"disable_check_calls": true
}
},
{
"name": "envoy.tcp_proxy",
"config": {
"stat_prefix": "outbound|443||www.yahoo.com",
"cluster": "outbound|443||www.yahoo.com",
"access_log": [
{
"config": {
"format": "start_time='%START_TIME%' method='%REQ(:METHOD)%' path='%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' protocol='%PROTOCOL%' resp_code='%RESPONSE_CODE%' resp_flags='%RESPONSE_FLAGS%' bytes_received='%BYTES_RECEIVED%' bytes_sent='%BYTES_SENT%' duration='%DURATION%' service_time='%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' x_forwarded_for='%REQ(X-FORWARDED-FOR)%' user_agent='%REQ(USER-AGENT)%' x_request_id='%REQ(X-REQUEST-ID)%' authority='%REQ(:AUTHORITY)%' upstream_host='%UPSTREAM_HOST%' y_rid='%REQ(Y-RID)%' downstream_remote_addr='%DOWNSTREAM_REMOTE_ADDRESS%' downstream_local_addr='%DOWNSTREAM_LOCAL_ADDRESS%'\n",
"path": "/dev/stdout"
},
"name": "envoy.file_access_log"
}
]
}
}
]
},
{
"filter_chain_match": {
"server_names": [
"sports.yahoo.com"
]
},
"filters": [
{
"name": "mixer",
"config": {
"transport": {
"check_cluster": "outbound|9091||istio-policy.istio-system.svc.yahoo.local",
"report_batch_max_entries": 1000,
"network_fail_policy": {
"max_retry_wait": "1s",
"base_retry_wait": "0.080s"
},
"report_batch_max_time": "1s",
"report_cluster": "outbound|9091||istio-telemetry.istio-system.svc.yahoo.local"
},
"disable_check_calls": true,
"mixer_attributes": {
"attributes": {
"source.namespace": {
"string_value": "ns1"
},
"destination.service.host": {
"string_value": "sports.yahoo.com"
},
"destination.service.namespace": {
"string_value": "ns1"
},
"destination.service.name": {
"string_value": "sports.yahoo.com"
},
"context.reporter.kind": {
"string_value": "outbound"
},
"context.proxy_version": {
"string_value": "1.3.2"
},
"context.reporter.uid": {
"string_value": "kubernetes://app1-58477b7555-6b6pc.ns1"
},
"source.uid": {
"string_value": "kubernetes://app1-58477b7555-6b6pc.ns1"
}
}
}
}
},
{
"name": "envoy.tcp_proxy",
"config": {
"access_log": [
{
"config": {
"format": "start_time='%START_TIME%' method='%REQ(:METHOD)%' path='%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%' protocol='%PROTOCOL%' resp_code='%RESPONSE_CODE%' resp_flags='%RESPONSE_FLAGS%' bytes_received='%BYTES_RECEIVED%' bytes_sent='%BYTES_SENT%' duration='%DURATION%' service_time='%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%' x_forwarded_for='%REQ(X-FORWARDED-FOR)%' user_agent='%REQ(USER-AGENT)%' x_request_id='%REQ(X-REQUEST-ID)%' authority='%REQ(:AUTHORITY)%' upstream_host='%UPSTREAM_HOST%' y_rid='%REQ(Y-RID)%' downstream_remote_addr='%DOWNSTREAM_REMOTE_ADDRESS%' downstream_local_addr='%DOWNSTREAM_LOCAL_ADDRESS%'\n",
"path": "/dev/stdout"
},
"name": "envoy.file_access_log"
}
],
"stat_prefix": "outbound|443||sports.yahoo.com",
"cluster": "outbound|443||sports.yahoo.com"
}
}
]
}
],
"deprecated_v1": {
"bind_to_port": false
},
"listener_filters": [
{
"name": "envoy.listener.tls_inspector"
}
],
"listener_filters_timeout": "1s",
"traffic_direction": "OUTBOUND",
"continue_on_listener_filters_timeout": true
},
"last_updated": "2019-10-23T19:12:46.240Z"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment