Last active
January 17, 2024 06:38
-
-
Save jijiechen/825316f736cc7c079a5e677361f53d9a to your computer and use it in GitHub Desktop.
kuma vip listeners
This file contains 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
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump", | |
"bootstrap": { }, | |
"last_updated": "2024-01-16T07:23:56.160Z" | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.ClustersConfigDump", | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"static_clusters": [ | |
{ | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "access_log_sink", | |
"type": "STATIC", | |
"connect_timeout": "1s", | |
"upstream_connection_options": { | |
"tcp_keepalive": { | |
"keepalive_probes": 3, | |
"keepalive_time": 10, | |
"keepalive_interval": 10 | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "access_log_sink", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"pipe": { | |
"path": "/tmp/kuma-dp-2255358130/kuma-al-demo-client-695dbd798c-bq8xz.external-service-locality-lb-external.sock" | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:56.172Z" | |
}, | |
{ | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "ads_cluster", | |
"type": "STRICT_DNS", | |
"connect_timeout": "1s", | |
"dns_lookup_family": "V4_ONLY", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2" | |
}, | |
"validation_context_sds_secret_config": { | |
"name": "cp_validation_ctx" | |
} | |
}, | |
"sni": "kuma-control-plane.kuma-system" | |
} | |
}, | |
"upstream_connection_options": { | |
"tcp_keepalive": { | |
"keepalive_probes": 3, | |
"keepalive_time": 10, | |
"keepalive_interval": 10 | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "ads_cluster", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "kuma-control-plane.kuma-system", | |
"port_value": 5678 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:56.176Z" | |
} | |
], | |
"dynamic_active_clusters": [ | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "demo-client_external-service-locality-lb_svc", | |
"type": "EDS", | |
"eds_cluster_config": { | |
"eds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
}, | |
"connect_timeout": "5s", | |
"circuit_breakers": { | |
"thresholds": [ | |
{ | |
"max_connections": 1024, | |
"max_pending_requests": 1024, | |
"max_requests": 1024, | |
"max_retries": 3 | |
} | |
] | |
}, | |
"outlier_detection": { | |
"enforcing_consecutive_5xx": 0, | |
"enforcing_success_rate": 0, | |
"enforcing_consecutive_gateway_failure": 0, | |
"enforcing_consecutive_local_origin_failure": 0, | |
"enforcing_failure_percentage": 0 | |
}, | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"alpn_protocols": [ | |
"kuma" | |
], | |
"tls_certificate_sds_secret_configs": [ | |
{ | |
"name": "identity_cert:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
], | |
"combined_validation_context": { | |
"default_validation_context": { | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "URI", | |
"matcher": { | |
"exact": "spiffe://external-service-locality-lb/demo-client_external-service-locality-lb_svc" | |
} | |
} | |
] | |
}, | |
"validation_context_sds_secret_config": { | |
"name": "mesh_ca:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
} | |
}, | |
"sni": "demo-client_external-service-locality-lb_svc{mesh=external-service-locality-lb}" | |
} | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:58.267Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "external-service-in-both-zones", | |
"type": "EDS", | |
"eds_cluster_config": { | |
"eds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
}, | |
"connect_timeout": "5s", | |
"circuit_breakers": { | |
"thresholds": [ | |
{ | |
"max_connections": 1024, | |
"max_pending_requests": 1024, | |
"max_requests": 1024, | |
"max_retries": 3 | |
} | |
] | |
}, | |
"outlier_detection": { | |
"enforcing_consecutive_5xx": 0, | |
"enforcing_success_rate": 0, | |
"enforcing_consecutive_gateway_failure": 0, | |
"enforcing_consecutive_local_origin_failure": 0, | |
"enforcing_failure_percentage": 0 | |
}, | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"alpn_protocols": [ | |
"kuma" | |
], | |
"tls_certificate_sds_secret_configs": [ | |
{ | |
"name": "identity_cert:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
], | |
"combined_validation_context": { | |
"default_validation_context": { | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "URI", | |
"matcher": { | |
"exact": "spiffe://external-service-locality-lb/zone-egress" | |
} | |
} | |
] | |
}, | |
"validation_context_sds_secret_config": { | |
"name": "mesh_ca:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
} | |
}, | |
"sni": "external-service-in-both-zones{mesh=external-service-locality-lb}" | |
} | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
}, | |
"explicit_http_config": { | |
"http_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:58.299Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "external-service-in-kube-zone1", | |
"type": "EDS", | |
"eds_cluster_config": { | |
"eds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
}, | |
"connect_timeout": "5s", | |
"circuit_breakers": { | |
"thresholds": [ | |
{ | |
"max_connections": 1024, | |
"max_pending_requests": 1024, | |
"max_requests": 1024, | |
"max_retries": 3 | |
} | |
] | |
}, | |
"outlier_detection": { | |
"enforcing_consecutive_5xx": 0, | |
"enforcing_success_rate": 0, | |
"enforcing_consecutive_gateway_failure": 0, | |
"enforcing_consecutive_local_origin_failure": 0, | |
"enforcing_failure_percentage": 0 | |
}, | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"alpn_protocols": [ | |
"kuma" | |
], | |
"tls_certificate_sds_secret_configs": [ | |
{ | |
"name": "identity_cert:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
], | |
"combined_validation_context": { | |
"default_validation_context": { | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "URI", | |
"matcher": { | |
"exact": "spiffe://external-service-locality-lb/zone-egress" | |
} | |
} | |
] | |
}, | |
"validation_context_sds_secret_config": { | |
"name": "mesh_ca:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
} | |
}, | |
"sni": "external-service-in-kube-zone1{mesh=external-service-locality-lb}" | |
} | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
}, | |
"explicit_http_config": { | |
"http_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:58.307Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "external-service-in-uni-zone4", | |
"type": "EDS", | |
"eds_cluster_config": { | |
"eds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
}, | |
"connect_timeout": "5s", | |
"circuit_breakers": { | |
"thresholds": [ | |
{ | |
"max_connections": 1024, | |
"max_pending_requests": 1024, | |
"max_requests": 1024, | |
"max_retries": 3 | |
} | |
] | |
}, | |
"outlier_detection": { | |
"enforcing_consecutive_5xx": 0, | |
"enforcing_success_rate": 0, | |
"enforcing_consecutive_gateway_failure": 0, | |
"enforcing_consecutive_local_origin_failure": 0, | |
"enforcing_failure_percentage": 0 | |
}, | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"alpn_protocols": [ | |
"kuma" | |
], | |
"tls_certificate_sds_secret_configs": [ | |
{ | |
"name": "identity_cert:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
], | |
"combined_validation_context": { | |
"default_validation_context": { | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "URI", | |
"matcher": { | |
"exact": "spiffe://external-service-locality-lb/zone-egress" | |
} | |
} | |
] | |
}, | |
"validation_context_sds_secret_config": { | |
"name": "mesh_ca:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
} | |
}, | |
"sni": "external-service-in-uni-zone4{mesh=external-service-locality-lb}" | |
} | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
}, | |
"explicit_http_config": { | |
"http_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:58.275Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "inbound:passthrough:ipv4", | |
"type": "ORIGINAL_DST", | |
"connect_timeout": "5s", | |
"lb_policy": "CLUSTER_PROVIDED", | |
"upstream_bind_config": { | |
"source_address": { | |
"address": "127.0.0.6", | |
"port_value": 0 | |
} | |
}, | |
"alt_stat_name": "inbound_passthrough_ipv4" | |
}, | |
"last_updated": "2024-01-16T07:23:58.311Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "inbound:passthrough:ipv6", | |
"type": "ORIGINAL_DST", | |
"connect_timeout": "5s", | |
"lb_policy": "CLUSTER_PROVIDED", | |
"upstream_bind_config": { | |
"source_address": { | |
"address": "::6", | |
"port_value": 0 | |
} | |
}, | |
"alt_stat_name": "inbound_passthrough_ipv6" | |
}, | |
"last_updated": "2024-01-16T07:23:58.280Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "kuma:envoy:admin", | |
"type": "STATIC", | |
"connect_timeout": "5s", | |
"alt_stat_name": "kuma_envoy_admin", | |
"load_assignment": { | |
"cluster_name": "kuma:envoy:admin", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "127.0.0.1", | |
"port_value": 9901 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:58.283Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "plugins:bootstrap:k8s:hooks:apiServerBypass", | |
"type": "ORIGINAL_DST", | |
"connect_timeout": "5s", | |
"lb_policy": "CLUSTER_PROVIDED", | |
"alt_stat_name": "plugins_bootstrap_k8s_hooks_apiServerBypass" | |
}, | |
"last_updated": "2024-01-16T07:23:58.291Z" | |
}, | |
{ | |
"version_info": "3586351e-0f89-466a-8321-bc4da29e4bd2", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "uni-zone4-demo-client", | |
"type": "EDS", | |
"eds_cluster_config": { | |
"eds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
}, | |
"connect_timeout": "5s", | |
"circuit_breakers": { | |
"thresholds": [ | |
{ | |
"max_connections": 1024, | |
"max_pending_requests": 1024, | |
"max_requests": 1024, | |
"max_retries": 3 | |
} | |
] | |
}, | |
"outlier_detection": { | |
"enforcing_consecutive_5xx": 0, | |
"enforcing_success_rate": 0, | |
"enforcing_consecutive_gateway_failure": 0, | |
"enforcing_consecutive_local_origin_failure": 0, | |
"enforcing_failure_percentage": 0 | |
}, | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"alpn_protocols": [ | |
"kuma" | |
], | |
"tls_certificate_sds_secret_configs": [ | |
{ | |
"name": "identity_cert:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
], | |
"combined_validation_context": { | |
"default_validation_context": { | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "URI", | |
"matcher": { | |
"exact": "spiffe://external-service-locality-lb/uni-zone4-demo-client" | |
} | |
} | |
] | |
}, | |
"validation_context_sds_secret_config": { | |
"name": "mesh_ca:secret:external-service-locality-lb", | |
"sds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
} | |
} | |
} | |
}, | |
"sni": "uni-zone4-demo-client{mesh=external-service-locality-lb}" | |
} | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2024-01-16T07:23:58.255Z" | |
} | |
] | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.ListenersConfigDump", | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"dynamic_listeners": [ | |
{ | |
"name": "outbound:240.0.0.3:8080", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:240.0.0.3:8080", | |
"address": { | |
"socket_address": { | |
"address": "240.0.0.3", | |
"port_value": 8080 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-kube-zone1", | |
"route_config": { | |
"name": "outbound:external-service-in-kube-zone1", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-kube-zone1", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-kube-zone1", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-kube-zone1" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.324Z" | |
} | |
}, | |
{ | |
"name": "outbound:240.0.0.4:80", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:240.0.0.4:80", | |
"address": { | |
"socket_address": { | |
"address": "240.0.0.4", | |
"port_value": 80 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-both-zones", | |
"route_config": { | |
"name": "outbound:external-service-in-both-zones", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-both-zones", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-both-zones", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-both-zones" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.329Z" | |
} | |
}, | |
{ | |
"name": "outbound:240.0.0.4:8080", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:240.0.0.4:8080", | |
"address": { | |
"socket_address": { | |
"address": "240.0.0.4", | |
"port_value": 8080 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-both-zones", | |
"route_config": { | |
"name": "outbound:external-service-in-both-zones", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-both-zones", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-both-zones", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-both-zones" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.334Z" | |
} | |
}, | |
{ | |
"name": "inbound:passthrough:ipv6", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "inbound:passthrough:ipv6", | |
"address": { | |
"socket_address": { | |
"address": "::", | |
"port_value": 15010 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | |
"stat_prefix": "inbound_passthrough_ipv6", | |
"cluster": "inbound:passthrough:ipv6" | |
} | |
} | |
] | |
} | |
], | |
"use_original_dst": true, | |
"traffic_direction": "INBOUND", | |
"enable_reuse_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.335Z" | |
} | |
}, | |
{ | |
"name": "outbound:172.18.0.17:8080", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:172.18.0.17:8080", | |
"address": { | |
"socket_address": { | |
"address": "172.18.0.17", | |
"port_value": 8080 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-uni-zone4", | |
"route_config": { | |
"name": "outbound:external-service-in-uni-zone4", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-uni-zone4", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-uni-zone4", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-uni-zone4" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.340Z" | |
} | |
}, | |
{ | |
"name": "outbound:172.18.0.19:8080", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:172.18.0.19:8080", | |
"address": { | |
"socket_address": { | |
"address": "172.18.0.19", | |
"port_value": 8080 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-both-zones", | |
"route_config": { | |
"name": "outbound:external-service-in-both-zones", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-both-zones", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-both-zones", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-both-zones" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.345Z" | |
} | |
}, | |
{ | |
"name": "outbound:240.0.0.1:80", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:240.0.0.1:80", | |
"address": { | |
"socket_address": { | |
"address": "240.0.0.1", | |
"port_value": 80 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | |
"stat_prefix": "demo-client_external-service-locality-lb_svc", | |
"cluster": "demo-client_external-service-locality-lb_svc", | |
"max_connect_attempts": 5, | |
"idle_timeout": "3600s" | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "demo-client_external-service-locality-lb_svc" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.346Z" | |
} | |
}, | |
{ | |
"name": "kuma:dns", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "kuma:dns", | |
"address": { | |
"socket_address": { | |
"protocol": "UDP", | |
"address": "127.0.0.1", | |
"port_value": 15055 | |
} | |
}, | |
"listener_filters": [ | |
{ | |
"name": "envoy.filters.udp.dns_filter", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig", | |
"stat_prefix": "kuma_dns", | |
"server_config": { | |
"inline_dns_table": { | |
"virtual_domains": [ | |
{ | |
"name": "demo-client.external-service-locality-lb.svc.mesh", | |
"endpoint": { | |
"address_list": { | |
"address": [ | |
"240.0.0.1", | |
"::ffff:f000:1" | |
] | |
} | |
}, | |
"answer_ttl": "30s" | |
}, | |
{ | |
"name": "demo-client_external-service-locality-lb_svc.mesh", | |
"endpoint": { | |
"address_list": { | |
"address": [ | |
"240.0.0.1", | |
"::ffff:f000:1" | |
] | |
} | |
}, | |
"answer_ttl": "30s" | |
}, | |
{ | |
"name": "external-service-in-both-zones.mesh", | |
"endpoint": { | |
"address_list": { | |
"address": [ | |
"240.0.0.4", | |
"::ffff:f000:4" | |
] | |
} | |
}, | |
"answer_ttl": "30s" | |
}, | |
{ | |
"name": "external-service-in-kube-zone1.mesh", | |
"endpoint": { | |
"address_list": { | |
"address": [ | |
"240.0.0.3", | |
"::ffff:f000:3" | |
] | |
} | |
}, | |
"answer_ttl": "30s" | |
}, | |
{ | |
"name": "external-service-in-uni-zone4.mesh", | |
"endpoint": { | |
"address_list": { | |
"address": [ | |
"240.0.0.2", | |
"::ffff:f000:2" | |
] | |
} | |
}, | |
"answer_ttl": "30s" | |
}, | |
{ | |
"name": "uni-zone4-demo-client.mesh", | |
"endpoint": { | |
"address_list": { | |
"address": [ | |
"240.0.0.0", | |
"::ffff:f000:0" | |
] | |
} | |
}, | |
"answer_ttl": "30s" | |
} | |
] | |
} | |
} | |
} | |
} | |
], | |
"traffic_direction": "INBOUND", | |
"enable_reuse_port": true | |
}, | |
"last_updated": "2024-01-16T07:23:58.347Z" | |
} | |
}, | |
{ | |
"name": "outbound:240.0.0.2:80", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:240.0.0.2:80", | |
"address": { | |
"socket_address": { | |
"address": "240.0.0.2", | |
"port_value": 80 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-uni-zone4", | |
"route_config": { | |
"name": "outbound:external-service-in-uni-zone4", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-uni-zone4", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-uni-zone4", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-uni-zone4" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.352Z" | |
} | |
}, | |
{ | |
"name": "plugins:bootstrap:k8s:hooks:apiServerBypass", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "plugins:bootstrap:k8s:hooks:apiServerBypass", | |
"address": { | |
"socket_address": { | |
"address": "10.43.0.1", | |
"port_value": 443 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | |
"stat_prefix": "plugins_bootstrap_k8s_hooks_apiServerBypass", | |
"cluster": "plugins:bootstrap:k8s:hooks:apiServerBypass" | |
} | |
} | |
] | |
} | |
], | |
"use_original_dst": true, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.353Z" | |
} | |
}, | |
{ | |
"name": "outbound:passthrough:ipv6", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:passthrough:ipv6", | |
"address": { | |
"socket_address": { | |
"address": "::", | |
"port_value": 15001 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | |
"stat_prefix": "outbound_passthrough_ipv6", | |
"cluster": "outbound:passthrough:ipv6" | |
} | |
} | |
] | |
} | |
], | |
"use_original_dst": true, | |
"traffic_direction": "OUTBOUND" | |
}, | |
"last_updated": "2024-01-16T07:23:58.354Z" | |
} | |
}, | |
{ | |
"name": "probe:listener", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "probe:listener", | |
"address": { | |
"socket_address": { | |
"address": "10.42.0.13", | |
"port_value": 9000 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "probe_listener", | |
"route_config": { | |
"name": "probe:route_configuration", | |
"virtual_hosts": [ | |
{ | |
"name": "probe", | |
"domains": [ | |
"*" | |
] | |
} | |
] | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
] | |
} | |
} | |
] | |
} | |
], | |
"traffic_direction": "INBOUND", | |
"bind_to_port": false, | |
"enable_reuse_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.357Z" | |
} | |
}, | |
{ | |
"name": "kuma:envoy:admin", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "kuma:envoy:admin", | |
"address": { | |
"socket_address": { | |
"address": "10.42.0.13", | |
"port_value": 9901 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "kuma_envoy_admin", | |
"route_config": { | |
"virtual_hosts": [ | |
{ | |
"name": "kuma:envoy:admin", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/ready" | |
}, | |
"route": { | |
"cluster": "kuma:envoy:admin", | |
"prefix_rewrite": "/ready" | |
} | |
} | |
] | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"filter_chain_match": { | |
"transport_protocol": "tls" | |
}, | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "kuma_envoy_admin", | |
"route_config": { | |
"virtual_hosts": [ | |
{ | |
"name": "kuma:envoy:admin", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "kuma:envoy:admin", | |
"prefix_rewrite": "/" | |
} | |
} | |
] | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
] | |
} | |
} | |
], | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext", | |
"common_tls_context": { | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"inline_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMRENDQWhTZ0F3SUJBZ0lSQUphVE95WGVYUWJ2blk3bnpaUk4vMjh3RFFZSktvWklodmNOQVFFTEJRQXcKTnpFTk1Bc0dBMVVFQ2hNRVMzVnRZVEVOTUFzR0ExVUVDeE1FVFdWemFERVhNQlVHQTFVRUF4TU9SVzUyYjNrZwpRV1J0YVc0Z1EwRXdIaGNOTWpRd01URTJNRGN5TXpVNFdoY05NelF3TVRFek1EY3lNelU0V2pBQU1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXhuT0psWktvaThhUmt4cGhYWmFpYlB0WUl1eEkKdGlGbjIxUHlrdStTdGZHdTJDZUZGR2VvSTk2ZFF1NmR2UXpDSlVaNDZ6UUNsNWtaTnBHdW5wUTlFemJRc1hjSQoybGdkODRaMWxoOVI0aE01VXEvRStEQ1kweGVHRFFNSkMvMHhPMUN0OGpyOFl0WlJSdXU4ZHdDUGtOeXZ3OEFFCk42SFc5R1FTZVdnbGtYZWFoN3EvYVFueURFVHVydURKUDdQODh1RUlFWnh2N1ZremVhNEt3eHY4ZXRYaW92M0kKdmYzMk1kaE8wMTZlUkpKL1pKZXpkem9RNnZZVUdwM1BwTEhONlZ5RTZITzdxY1VpNDdNcXdtQ2JSbUtYczRZZwp0eHIySzIvUU1rS3pEWnRrT3dxN21VbnFZcmo5bG9oVnJicmp3amZiRDRCZytpM3lsYXI2cmNLdXNRSURBUUFCCm8yb3dhREFPQmdOVkhROEJBZjhFQkFNQ0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUhBd0V3REFZRFZSMFQKQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUMFdzQmtCTmNyQmNPNUd1TEJ5QWdvbHFXODZUQVNCZ05WSFJFQgpBZjhFQ0RBR2h3UUtLZ0FOTUEwR0NTcUdTSWIzRFFFQkN3VUFBNElCQVFDdFlCVnVJTXAraStTTkt5eDM3NkVECksycEozcjlQYWNoRUl6eHdMTUZvdEw1WnBLM0NtbHNkK3JlWk0xWTJhdTZPOHM2MitVa09tTlg0cTJsczFYWHYKNGdBa3hLM0U3cnRuajgxTXlCbzRTd2NCblEyK1EvOUVzSjlaOFcrYmZpTnVwM0loZlZtdjZ0NFVKbU95eTQydgpJYzgxbDQ1N2JnYkVKSjB3OER4bmp1ZVREYkI4d3hzcUlYMnNacm53bStuSXN4d3NqVFd1eVlhcDEzVHp5TFN3CktJM0QzcHdBWnJzd2pqTHR1aDZFejVEWEtuc3BXNU1VRk8yMzNCRlhMWjhmL0JlYStRZW1IY3JJd1dqRWdlbjcKNG9YVnpEUHQzNXc5ME5aK1NXYU1KY1EzMlVBbEZpNU43amVHRGh2TEptd3QzREVzQXl6NWtaTkU2MEdEZFI2SwotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" | |
}, | |
"private_key": { | |
"inline_bytes": "W3JlZGFjdGVkXQ==" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"inline_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURLekNDQWhPZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREEzTVEwd0N3WURWUVFLRXdSTGRXMWgKTVEwd0N3WURWUVFMRXdSTlpYTm9NUmN3RlFZRFZRUURFdzVGYm5admVTQkJaRzFwYmlCRFFUQWVGdzB5TkRBeApNVFl3TlRBd01EWmFGdzB6TkRBeE1UTXdOVEExTURaYU1EY3hEVEFMQmdOVkJBb1RCRXQxYldFeERUQUxCZ05WCkJBc1RCRTFsYzJneEZ6QVZCZ05WQkFNVERrVnVkbTk1SUVGa2JXbHVJRU5CTUlJQklqQU5CZ2txaGtpRzl3MEIKQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBeUswMmpOQWNrL2JDLzhqR0tqdHJ6ZmR1RGdoN2FDdzNUTmEzb3l2VQpJS0lhcWVDSWtwMUdaMS9Gd0tQZlcya0g5VGdKSFNSMGh4em1mWlBmeU8vYjlucFdZYnVsZEdZSUNJZDlJWlZnCnNTNzgzUWpvMWFjUmJBb2JRMGgvMS80akFscTZHMDdjMlJaRUdVcVdIMVlSY0xSdU1yMHFhMjlsNVpSWWkyU0oKZXFGOVJKSWpqalVzSDU0MlRobjZKNGtKQ2xuNGREOG9JRkJSQThoZG03WEEyQlE2SmlZenN2WFNYUVRnYjRYdgp2cEJuTkVBMHFRclpzcm11aisvK3JTQjR2V0RCSUE0ODFuODRYMTVEYVVDYnVabGdudWhWa0sxYUJreHI1ajlsCi9IZUNKQnBvbU5STzhzVlBaK3FEUExkNHJiUW9naW0vd2IvY1V4WHd3RzJpQVFJREFRQUJvMEl3UURBT0JnTlYKSFE4QkFmOEVCQU1DQVFZd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVTlGckFaQVRYS3dYRAp1UnJpd2NnSUtKYWx2T2t3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUMvd1pLNWFGYncrR293MzI2YnFyMUVNCmdMdGUwemY4K3BrZ2F0S2VMYktiTWs4a0YzNUxPY29yeVNQd3V0M1VuK0ZUdnVCekVVbjFvWktpa05LT09jU0MKK0tzUXdrQnR5WWY3TTBHQ3JoWjk5ZjlrRHNWM2JXdnJHM0dOWnkvejI2RnQzRTB6VE1QU1F6MlFTaTVxYTlMMQo5QU1Pc0VQQjlPaE42VEdoYTI0bFc5OHd5cmJzYjc5RUpiOUx4YVUySzVheU1FdHJEcVVtSi9MVmdlbFk4dmFaCk50ZEpLVFY5UzlGd05qQis2RU41M05YWmNScTM3RXlqVnpodWNjNDRKQmU2Y0lldnZDRU50UyszWThTaXgvT1YKbk9LSHBiK0doZ1ZsaEs5R05kV1ZNSSszZUZIQ0VLV05zblduOE5teHMzTkhSeVp4STc4eDN6UktXemtLbCtFPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" | |
}, | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "DNS", | |
"matcher": { | |
"exact": "kuma-cp" | |
} | |
} | |
] | |
} | |
}, | |
"require_client_certificate": true | |
} | |
} | |
} | |
], | |
"listener_filters": [ | |
{ | |
"name": "envoy.filters.listener.tls_inspector", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.listener.tls_inspector.v3.TlsInspector" | |
} | |
} | |
], | |
"traffic_direction": "INBOUND", | |
"enable_reuse_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.365Z" | |
} | |
}, | |
{ | |
"name": "outbound:240.0.0.0:80", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:240.0.0.0:80", | |
"address": { | |
"socket_address": { | |
"address": "240.0.0.0", | |
"port_value": 80 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | |
"stat_prefix": "uni-zone4-demo-client", | |
"cluster": "uni-zone4-demo-client", | |
"max_connect_attempts": 5, | |
"idle_timeout": "3600s" | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "uni-zone4-demo-client" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.366Z" | |
} | |
}, | |
{ | |
"name": "outbound:240.0.0.3:80", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:240.0.0.3:80", | |
"address": { | |
"socket_address": { | |
"address": "240.0.0.3", | |
"port_value": 80 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-kube-zone1", | |
"route_config": { | |
"name": "outbound:external-service-in-kube-zone1", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-kube-zone1", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-kube-zone1", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-kube-zone1" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.371Z" | |
} | |
}, | |
{ | |
"name": "outbound:passthrough:ipv4", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:passthrough:ipv4", | |
"address": { | |
"socket_address": { | |
"address": "0.0.0.0", | |
"port_value": 15001 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | |
"stat_prefix": "outbound_passthrough_ipv4", | |
"cluster": "outbound:passthrough:ipv4" | |
} | |
} | |
] | |
} | |
], | |
"use_original_dst": true, | |
"traffic_direction": "OUTBOUND" | |
}, | |
"last_updated": "2024-01-16T07:23:58.371Z" | |
} | |
}, | |
{ | |
"name": "inbound:passthrough:ipv4", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "inbound:passthrough:ipv4", | |
"address": { | |
"socket_address": { | |
"address": "0.0.0.0", | |
"port_value": 15006 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | |
"stat_prefix": "inbound_passthrough_ipv4", | |
"cluster": "inbound:passthrough:ipv4" | |
} | |
} | |
] | |
} | |
], | |
"use_original_dst": true, | |
"traffic_direction": "INBOUND", | |
"enable_reuse_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.372Z" | |
} | |
}, | |
{ | |
"name": "outbound:172.18.0.18:8080", | |
"active_state": { | |
"version_info": "04460546-a88e-4034-91de-2869de309985", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "outbound:172.18.0.18:8080", | |
"address": { | |
"socket_address": { | |
"address": "172.18.0.18", | |
"port_value": 8080 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "external-service-in-kube-zone1", | |
"route_config": { | |
"name": "outbound:external-service-in-kube-zone1", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-kube-zone1", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-kube-zone1", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"stream_idle_timeout": "1800s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
} | |
} | |
} | |
] | |
} | |
], | |
"metadata": { | |
"filter_metadata": { | |
"io.kuma.tags": { | |
"kuma.io/service": "external-service-in-kube-zone1" | |
} | |
} | |
}, | |
"traffic_direction": "OUTBOUND", | |
"bind_to_port": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.377Z" | |
} | |
} | |
] | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.ScopedRoutesConfigDump" | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.RoutesConfigDump", | |
"static_route_configs": [ | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-both-zones", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-both-zones", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-both-zones", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.333Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-kube-zone1", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-kube-zone1", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-kube-zone1", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.370Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-uni-zone4", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-uni-zone4", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-uni-zone4", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.351Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"virtual_hosts": [ | |
{ | |
"name": "kuma:envoy:admin", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/ready" | |
}, | |
"route": { | |
"cluster": "kuma:envoy:admin", | |
"prefix_rewrite": "/ready" | |
} | |
} | |
] | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.360Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-kube-zone1", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-kube-zone1", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-kube-zone1", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.376Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-kube-zone1", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-kube-zone1", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-kube-zone1", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.323Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "probe:route_configuration", | |
"virtual_hosts": [ | |
{ | |
"name": "probe", | |
"domains": [ | |
"*" | |
] | |
} | |
] | |
}, | |
"last_updated": "2024-01-16T07:23:58.356Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-uni-zone4", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-uni-zone4", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-uni-zone4", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.339Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-both-zones", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-both-zones", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-both-zones", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.344Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"virtual_hosts": [ | |
{ | |
"name": "kuma:envoy:admin", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "kuma:envoy:admin", | |
"prefix_rewrite": "/" | |
} | |
} | |
] | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.364Z" | |
}, | |
{ | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "outbound:external-service-in-both-zones", | |
"virtual_hosts": [ | |
{ | |
"name": "external-service-in-both-zones", | |
"domains": [ | |
"*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"prefix": "/" | |
}, | |
"route": { | |
"cluster": "external-service-in-both-zones", | |
"auto_host_rewrite": true, | |
"timeout": "15s" | |
} | |
} | |
], | |
"retry_policy": { | |
"retry_on": "gateway-error,connect-failure,refused-stream", | |
"num_retries": 5, | |
"per_try_timeout": "16s", | |
"retry_back_off": { | |
"base_interval": "0.025s", | |
"max_interval": "0.250s" | |
} | |
} | |
} | |
], | |
"request_headers_to_add": [ | |
{ | |
"header": { | |
"key": "x-kuma-tags", | |
"value": "&app=demo-client&&k8s.kuma.io/namespace=external-service-locality-lb&&kuma.io/instance=demo-client-695dbd798c-bq8xz&&kuma.io/protocol=tcp&&kuma.io/service=demo-client_external-service-locality-lb_svc&&kuma.io/zone=kuma-1&&pod-template-hash=695dbd798c&" | |
} | |
} | |
], | |
"validate_clusters": false | |
}, | |
"last_updated": "2024-01-16T07:23:58.328Z" | |
} | |
] | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.SecretsConfigDump", | |
"static_secrets": [ | |
{ | |
"name": "cp_validation_ctx", | |
"secret": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret", | |
"name": "cp_validation_ctx", | |
"validation_context": { | |
"trusted_ca": { | |
"inline_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUREekNDQWZlZ0F3SUJBZ0lRWEp0ZDNpc1oydXA3V1NGbXRNemQvekFOQmdrcWhraUc5dzBCQVFzRkFEQVMKTVJBd0RnWURWUVFERXdkcmRXMWhMV05oTUI0WERUSTBNREV4TmpBMU1EVXdORm9YRFRNME1ERXhNekExTURVdwpORm93RWpFUU1BNEdBMVVFQXhNSGEzVnRZUzFqWVRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQUxCODUwZmpsbXRYSEp2dzllMTczeFJmYUpzalg5WXdNRzgxS0RVWlVqdGNyMzFCREVVaW5XcWsKY2N1blhLTVgyNnY0aTQ2bjdtN2gxenEzN0M1TjJCUm1HYnRvSm5kV0FJdkh2YjlVdlF4YmgyNUU0YlNicXMxaAoyV091L1RyYkRWeHRwQmdQTjJmZUczL3hDUklWZTdVZm1SZ29PNThEb2t2OE1qa2ZLVm8rT20wT3YwSThHTnB4CnpFRG84N3paWFljR1BOelBGc0o0TzlBTytiSmtKd2V2RzdZRXdkYndoRUYyYmJ6YUFJVXB0THJkd2dzTjFOYWcKeDhIbGNqbGU3RjFzUUxvbFY5ZCsrcWVGc1czSjdpZ2paNWtPMEQyV01yeEFIbzdJN2FVMnM5MjNZenFsc1VGVApyRmE5QURxVjhkV3IyME0vTlhPQ2x5QTF5MkhzeS9VQ0F3RUFBYU5oTUY4d0RnWURWUjBQQVFIL0JBUURBZ0trCk1CMEdBMVVkSlFRV01CUUdDQ3NHQVFVRkJ3TUJCZ2dyQmdFRkJRY0RBakFQQmdOVkhSTUJBZjhFQlRBREFRSC8KTUIwR0ExVWREZ1FXQkJRZGJrTHdvYTYwRUsycDBJVDZSL3MrcUFLN0NEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQwpBUUVBU1B2U2MyQzhJc2RWK1Vab0h4anl5S29ndkRGQmkzWWJHMGRyMWdic09SMmdLd0R2ZC8vTWRaRHltdVN6CjRyYVg2aUV6eWtxNzlOQ3JnNXFlcytEWHlTczUzZGM3eEZtQVoyL3ZxcW9RekVhUXQzeXdoeEZXRTY5d2k1WDYKQXpVVUw3ektLYkttdXNNTjdwUGtlS1hJOVl0T1d4M25ET003SjNqT00vei9YeTBrSnVIT3JROStwZUNpVHBsLwppZ1N6SmZ4UkhvVjc5S1hlQ0VLQW1Tdk5aa2dUakR0ZUR0TDdQdCtOZC9jVTU0SW9FNVlaRDR1VjhDaVptT0E4Cnl3dFlsbHFMMmVFNjlGVjRiUy9nN1hTRVFBT01nbThON3F4a2E5dUd4RmdyRVFwdjVOT3REL0hxZEJQVzdxVDEKRmFRd2xBakRRdUNUdGwyUXc3QWxCVXB3TVE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" | |
}, | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "DNS", | |
"matcher": { | |
"exact": "kuma-control-plane.kuma-system" | |
} | |
}, | |
{ | |
"san_type": "IP_ADDRESS", | |
"matcher": { | |
"exact": "kuma-control-plane.kuma-system" | |
} | |
} | |
] | |
} | |
} | |
} | |
], | |
"dynamic_active_secrets": [ | |
{ | |
"name": "identity_cert:secret:external-service-locality-lb", | |
"version_info": "41d30632-8e14-4dcd-9bec-5e07656f5e28", | |
"last_updated": "2024-01-16T07:23:58.317Z", | |
"secret": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret", | |
"name": "identity_cert:secret:external-service-locality-lb", | |
"tls_certificate": { | |
"certificate_chain": { | |
"inline_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV4ekNDQTYrZ0F3SUJBZ0lRQU1ENXhvNGZIYUNmVVUyRU9VQ3RmakFOQmdrcWhraUc5dzBCQVFzRkFEQkYKTVEwd0N3WURWUVFLRXdSTGRXMWhNUTB3Q3dZRFZRUUxFd1JOWlhOb01TVXdJd1lEVlFRREV4eGxlSFJsY201aApiQzF6WlhKMmFXTmxMV3h2WTJGc2FYUjVMV3hpTUI0WERUSTBNREV4TmpBM01qTTBPRm9YRFRJME1ERXhOekEzCk1qTTFPRm93QURDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTEZSY2l5TUVGMWoKUHpPK1d1K1VoN2QyN24xNG1FbFRBeWljcHNXZ2Fpd29KamcrKzUwQ3FxNUZ4WGxjWW5oTndIbkdzMURWZjRYVwpUL2xqRVhpZ3Y4ZzdwQmFkTUFKbzBSamFFVXc5KzFSSUxwUzg3Mk1BakxEWXJ4ekNmUWdXalZMbzZWcG1oM3FKClpCV2lHVXh4U2xHOWcydVF4VElSOTlIS0RzbDVhSGMrSlZPTWZhRU1iZUFZRm9FZGErWG1rU1RRenc0dXZLUXAKZEdWMnNSbnFzSmlIQVdIZ2lETEd2c1ZoSUpqOHJlUk1DTUpZRTNiamMvUVpuM0FaZTZ5L1FObG9aMWZUeEYvbwpOSG5YNlNUNldSMjVTQnh2bHZMb1Y5WG5meXNRNVVxOTdIOUpZQWgxSjA1V1kyajU1ZC94SHRXV0Z4WnlERE1ZCkNTK25FU0Z3QkxFQ0F3RUFBYU9DQWZZd2dnSHlNQTRHQTFVZER3RUIvd1FFQXdJRHFEQWRCZ05WSFNVRUZqQVUKQmdnckJnRUZCUWNEQVFZSUt3WUJCUVVIQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUNQo0UW5sWnFBZDNxK2orV3oyT216eG4vNGZHVENDQVpBR0ExVWRFUUVCL3dTQ0FZUXdnZ0dBaGxKemNHbG1abVU2Ckx5OWxlSFJsY201aGJDMXpaWEoyYVdObExXeHZZMkZzYVhSNUxXeGlMMlJsYlc4dFkyeHBaVzUwWDJWNGRHVnkKYm1Gc0xYTmxjblpwWTJVdGJHOWpZV3hwZEhrdGJHSmZjM1pqaGhacmRXMWhPaTh2WVhCd0wyUmxiVzh0WTJ4cApaVzUwaGpscmRXMWhPaTh2YXpoekxtdDFiV0V1YVc4dmJtRnRaWE53WVdObEwyVjRkR1Z5Ym1Gc0xYTmxjblpwClkyVXRiRzlqWVd4cGRIa3RiR0tHTkd0MWJXRTZMeTlyZFcxaExtbHZMMmx1YzNSaGJtTmxMMlJsYlc4dFkyeHAKWlc1MExUWTVOV1JpWkRjNU9HTXRZbkU0ZUhxR0cydDFiV0U2THk5cmRXMWhMbWx2TDNCeWIzUnZZMjlzTDNSagpjSVpEYTNWdFlUb3ZMMnQxYldFdWFXOHZjMlZ5ZG1salpTOWtaVzF2TFdOc2FXVnVkRjlsZUhSbGNtNWhiQzF6ClpYSjJhV05sTFd4dlkyRnNhWFI1TFd4aVgzTjJZNFlhYTNWdFlUb3ZMMnQxYldFdWFXOHZlbTl1WlM5cmRXMWgKTFRHR0kydDFiV0U2THk5d2IyUXRkR1Z0Y0d4aGRHVXRhR0Z6YUM4Mk9UVmtZbVEzT1Roak1BMEdDU3FHU0liMwpEUUVCQ3dVQUE0SUJBUUI2d3dzeG1vYWVvNkwxR2ZmV3preHFsb3ZyQ2pybEFlbzdBK0o5NUM0c2FoWTJqUFhOCjNyeHVDT2lReDFwYmhwb2FLTzIrQjhQZ21PcVBBTkY3ZEkwcm45ZWpFS0h4QVZncGptM2RKR2pYZjQ3MDc5T2EKTjBKK1pCaFlkSmdIVnkyd1g4blhjNVhidG9HUjZUajN1d2RBeUFZRU9PNnArSk1NU1llakJkdGNoZzBUWERKdwpxVVlQbDZZbXYyUDU1bFlGd2dZVG00L2VQcTk2Wit4TnhmcGF4VWdIbU9hQXFhNjhWMzJ4OVpYUUFadzFGZm5FCnB0R3FIRXBWYjBVWllUUVhlZzhib1JIUko2VG85UHJFaU81ckhWTFJ2U3pYU2swYjdRK3ZMZ1psZEZUdXNZc2cKR2JNOTZldGNMRXRtaFpXaXhQUEVJS3VNcDluSGtBdFhMaVFKCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K" | |
}, | |
"private_key": { | |
"inline_bytes": "W3JlZGFjdGVkXQ==" | |
} | |
} | |
} | |
}, | |
{ | |
"name": "mesh_ca:secret:external-service-locality-lb", | |
"version_info": "41d30632-8e14-4dcd-9bec-5e07656f5e28", | |
"last_updated": "2024-01-16T07:23:58.313Z", | |
"secret": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret", | |
"name": "mesh_ca:secret:external-service-locality-lb", | |
"validation_context": { | |
"trusted_ca": { | |
"inline_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURlVENDQW1HZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREJGTVEwd0N3WURWUVFLRXdSTGRXMWgKTVEwd0N3WURWUVFMRXdSTlpYTm9NU1V3SXdZRFZRUURFeHhsZUhSbGNtNWhiQzF6WlhKMmFXTmxMV3h2WTJGcwphWFI1TFd4aU1CNFhEVEkwTURFeE5qQTFNRFl5TUZvWERUTTBNREV4TXpBMU1EWXpNRm93UlRFTk1Bc0dBMVVFCkNoTUVTM1Z0WVRFTk1Bc0dBMVVFQ3hNRVRXVnphREVsTUNNR0ExVUVBeE1jWlhoMFpYSnVZV3d0YzJWeWRtbGoKWlMxc2IyTmhiR2wwZVMxc1lqQ0NBU0l3RFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU9YZApyVC8vbmNiZTh1c1Jjb1hzRUx3QlZmUWRBRE1vc05SUlk3Rmk5L1lmanVnZVFPdTU3YzVmNkttVGR3ZzVEdDNVCjArWFIzMVk1YXBMSlJ4ZzNFZ3hESzlVOCsxeHZaZlZBcm0yQnE3UlZOWFg2Y3d3NzBJVjRWNTZqQWR2a01GQWwKRStCUThYVXJkWEs3dEVVeDFpU0QwaDBoUzlhNkVIZ2FLVDZlY1BqeG0vWlZzNDlEZlQzbWNIcGRRdWhEdEVucQplYmVKQkNCSVlUc1pvK3J3S01wc0c5dE1icFVFL1FsWW5YK1hIc1JmVjFTUkFLd3dPUFZLUVlsMHVxeXB5SmI3CkR6ekhVYkU3dm82cXZ0UDFNaFdUa1ZPZ2k0SmpJaG02WVhsZHU4MXRPNFU2K2c2UWV1b2VYOFBYaWpvT2xVVUYKT2VLejhhNzBhakwwMmU5OHhzRUNBd0VBQWFOME1ISXdEZ1lEVlIwUEFRSC9CQVFEQWdFR01BOEdBMVVkRXdFQgovd1FGTUFNQkFmOHdIUVlEVlIwT0JCWUVGUG5oQ2VWbW9CM2VyNlA1YlBZNmJQR2YvaDhaTURBR0ExVWRFUVFwCk1DZUdKWE53YVdabVpUb3ZMMlY0ZEdWeWJtRnNMWE5sY25acFkyVXRiRzlqWVd4cGRIa3RiR0l3RFFZSktvWkkKaHZjTkFRRUxCUUFEZ2dFQkFKY0h1ZTJMRHZNUjlabHBaNUpQZzZ6UXU5Z0dUMzhGWXUxOGNzUS80VEpuSmRtbQpvbno4MEVKM1MwV2tWaVVzRnBKYVhSVFFJWkFKSXRTU0thZG1uM2JMRVcyRWJ4T2FuZ29LcnppcjNLcVRkV3liCko4TmUyWHRUVlc4ZWhiVHhpdWgvQkwvYU13QnYvU29ZVnhkMlJDa1VNMGoxV3JVN20wNjgreTFoWE54a0FjazkKby8xVlVHR3NBVGgyZVFrd00zTXd6UUlKQkRoRnNDYzVZWSs3VEpiOXpEUDlNQ29heC9QNlRScmgxSlVZZmdiTwpiSlBWVklXQTVwZnJrRXUyOXBBTHNmSkkxTll5ZmZ5WUtIMDRjVmlac3k0SjBzODVFaDJnYXpJajZnTVhKVGJECnFQZXZXZ2t0bk1pcUx4clRIZ2JIRXpsNjZONUd4K2gxdU5xWEg2bz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=" | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
} |
This file contains 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
apiVersion: kuma.io/v1alpha1 | |
kind: ExternalService | |
mesh: external-service-locality-lb | |
metadata: | |
creationTimestamp: "2024-01-17T06:19:39Z" | |
generation: 1 | |
labels: | |
kuma.io/display-name: external-service-in-uni-zone4 | |
kuma.io/origin: global | |
name: external-service-in-uni-zone4-445bdwdc2dbwbbcb | |
ownerReferences: | |
- apiVersion: kuma.io/v1alpha1 | |
kind: Mesh | |
name: external-service-locality-lb | |
uid: 56747d04-fc1a-4d6b-be87-da9fc30f9213 | |
resourceVersion: "999" | |
uid: 615f61f6-109c-4203-958b-5d526082f82e | |
spec: | |
networking: | |
address: 172.18.0.17:8080 | |
tags: | |
kuma.io/protocol: http | |
kuma.io/service: external-service-in-uni-zone4 | |
kuma.io/zone: kuma-4 |
This file contains 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
{ | |
"0:demo-client_external-service-locality-lb_svc": { | |
"address": "240.0.0.1", | |
"outbounds": [ | |
{ | |
"Port": 0, | |
"TagSet": { | |
"kuma.io/service": "demo-client_external-service-locality-lb_svc" | |
}, | |
"Origin": "service" | |
} | |
] | |
}, | |
"0:external-service-in-both-zones": { | |
"address": "240.0.0.4", | |
"outbounds": [ | |
{ | |
"Port": 8080, | |
"TagSet": { | |
"kuma.io/service": "external-service-in-both-zones" | |
}, | |
"Origin": "service" | |
} | |
] | |
}, | |
"0:external-service-in-kube-zone1": { | |
"address": "240.0.0.3", | |
"outbounds": [ | |
{ | |
"Port": 8080, | |
"TagSet": { | |
"kuma.io/service": "external-service-in-kube-zone1" | |
}, | |
"Origin": "service" | |
} | |
] | |
}, | |
"0:external-service-in-uni-zone4": { | |
"address": "240.0.0.2", | |
"outbounds": [ | |
{ | |
"Port": 0, | |
"TagSet": { | |
"kuma.io/service": "external-service-in-uni-zone4" | |
}, | |
"Origin": "service" | |
}, | |
{ | |
"Port": 8080, | |
"TagSet": { | |
"kuma.io/service": "external-service-in-uni-zone4" | |
}, | |
"Origin": "service" | |
} | |
] | |
}, | |
"0:uni-zone4-demo-client": { | |
"address": "240.0.0.0", | |
"outbounds": [ | |
{ | |
"Port": 0, | |
"TagSet": { | |
"kuma.io/service": "uni-zone4-demo-client" | |
}, | |
"Origin": "service" | |
} | |
] | |
}, | |
"1:172.18.0.17": { | |
"address": "172.18.0.17", | |
"outbounds": [ | |
{ | |
"Port": 8080, | |
"TagSet": { | |
"kuma.io/service": "external-service-in-uni-zone4" | |
}, | |
"Origin": "external-service:external-service-in-uni-zone4-445bdwdc2dbwbbcb" | |
} | |
] | |
}, | |
"1:172.18.0.18": { | |
"address": "172.18.0.18", | |
"outbounds": [ | |
{ | |
"Port": 8080, | |
"TagSet": { | |
"kuma.io/service": "external-service-in-kube-zone1" | |
}, | |
"Origin": "external-service:external-service-in-kube-zone1-57f4wbbf775wb874" | |
} | |
] | |
}, | |
"1:172.18.0.19": { | |
"address": "172.18.0.19", | |
"outbounds": [ | |
{ | |
"Port": 8080, | |
"TagSet": { | |
"kuma.io/service": "external-service-in-both-zones" | |
}, | |
"Origin": "external-service:external-service-in-both-zones-z77bcw5z28z95474" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment