Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- Pilot Clusters
- +++ Envoy Clusters
- -4,21 +4,42
- "cluster": {
- "name": "BlackHoleCluster",
- "connectTimeout": "1.000s"
- }
- },
- {
- "cluster": {
- - "name": "inbound|8080||cloud-ali.default.svc.cluster.local",
- + "name": "inbound|3333||mgmtCluster",
- "connectTimeout": "1.000s",
- "hosts": [
- {
- "socketAddress": {
- "address": "127.0.0.1",
- - "portValue": 8080
- + "portValue": 3333
- + }
- + }
- + ],
- + "circuitBreakers": {
- + "thresholds": [
- + {
- +
- + }
- + ]
- + }
- + }
- + },
- + {
- + "cluster": {
- + "name": "inbound|9999||mgmtCluster",
- + "connectTimeout": "1.000s",
- + "hosts": [
- + {
- + "socketAddress": {
- + "address": "127.0.0.1",
- + "portValue": 9999
- }
- }
- ],
- "circuitBreakers": {
- "thresholds": [
- {
- --- Pilot Listeners
- +++ Envoy Listeners
- -1208,381 +1208,82
- "deprecatedV1": {
- "bindToPort": false
- }
- }
- },
- {
- "listener": {
- - "name": "10.3.0.223_8080",
- + "name": "10.3.0.223_3333",
- "address": {
- "socketAddress": {
- "address": "10.3.0.223",
- - "portValue": 8080
- - }
- - },
- - "filterChains": [
- - {
- - "filterChainMatch": {
- - "transportProtocol": "raw_buffer"
- - },
- - "filters": [
- - {
- - "name": "envoy.http_connection_manager",
- - "config": {
- - "access_log": [
- - {
- - "config": {
- - "format": "[%START_TIME%] \"%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%%PROTOCOL%\" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% \"%REQ(X-FORWARDED-FOR)%\" \"%REQ(USER-AGENT)%\" \"%REQ(X-REQUEST-ID)%\" \"%REQ(:AUTHORITY)%\" \"%UPSTREAM_HOST%\" %UPSTREAM_CLUSTER% %UPSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_REMOTE_ADDRESS%\n",
- .........
- ........
- - }
- - },
- - "transport": {
- - "attributes_for_mixer_proxy": {
- - "attributes": {
- - "source.uid": {
- - "string_value": "kubernetes://cloud-ali-v1-57cd9dc45c-rrhbq.default"
- - }
- - }
- - },
- - "check_cluster": "outbound|9091||istio-policy.istio-system.svc.cluster.local",
- - "network_fail_policy": {
- - "policy": "FAIL_CLOSE"
- - },
- - "report_cluster": "outbound|9091||istio-telemetry.istio-system.svc.cluster.local"
- - }
- - },
- - "name": "mixer"
- - },
- - {
- - "name": "envoy.cors"
- - },
- - {
- - "name": "envoy.fault"
- - },
- - {
- - "name": "envoy.router"
- - }
- - ],
- - "route_config": {
- - "name": "inbound|8080||cloud-ali.default.svc.cluster.local",
- - "validate_clusters": false,
- - "virtual_hosts": [
- - {
- - "domains": [
- - "*"
- - ],
- - "name": "inbound|http|8080",
- - "routes": [
- - {
- - "decorator": {
- - "operation": "cloud-ali.default.svc.cluster.local:8080/*"
- - },
- - "match": {
- - "prefix": "/"
- - },
- - "per_filter_config": {
- - "mixer": {
- - "mixer_attributes": {
- - "attributes": {
- - "destination.service": {
- - "string_value": "cloud-ali.default.svc.cluster.local"
- - },
- - "destination.service.host": {
- - "string_value": "cloud-ali.default.svc.cluster.local"
- - },
- - "destination.service.name": {
- - "string_value": "cloud-ali"
- - },
- - "destination.service.namespace": {
- - "string_value": "default"
- - },
- - "destination.service.uid": {
- - "string_value": "istio://default/services/cloud-ali"
- - }
- - }
- - }
- - }
- - },
- - "route": {
- - "cluster": "inbound|8080||cloud-ali.default.svc.cluster.local",
- - "max_grpc_timeout": "0.000s",
- - "timeout": "0.000s"
- - }
- - }
- - ]
- - }
- - ]
- - },
- - "stat_prefix": "10.3.0.223_8080",
- - "stream_idle_timeout": "0.000s",
- - "tracing": {
- - "client_sampling": {
- - "value": 100
- - },
- - "overall_sampling": {
- - "value": 100
- - },
- - "random_sampling": {
- - "value": 1
- - }
- - },
- - "upgrade_configs": [
- - {
- - "upgrade_type": "websocket"
- - }
- - ],
- - "use_remote_address": false
- - }
- - }
- - ]
- - },
- - {
- - "filterChainMatch": {
- - "transportProtocol": "tls"
- - },
- - "tlsContext": {
- - "commonTlsContext": {
- - "tlsCertificates": [
- - {
- - "certificateChain": {
- - "filename": "/etc/certs/cert-chain.pem"
- - },
- - "privateKey": {
- - "filename": "/etc/certs/key.pem"
- - }
- - }
- - ],
- - "validationContext": {
- - "trustedCa": {
- - "filename": "/etc/certs/root-cert.pem"
- - }
- - },
- - "alpnProtocols": [
- - "h2",
- - "http/1.1"
- - ]
- - },
- - "requireClientCertificate": true
- - },
- - "filters": [
- - {
- - "name": "envoy.http_connection_manager",
- - "config": {
- - "access_log": [
- - {
- - "config": {
- - "format": "[%START_TIME%] \"%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%%PROTOCOL%\" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% \"%REQ(X-FORWARDED-FOR)%\" \"%REQ(USER-AGENT)%\" \"%REQ(X-REQUEST-ID)%\" \"%REQ(:AUTHORITY)%\" \"%UPSTREAM_HOST%\" %UPSTREAM_CLUSTER% %UPSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_REMOTE_ADDRESS%\n",
- - "path": "/dev/stdout"
- - },
- - "name": "envoy.file_access_log"
- - }
- - ],
- - "generate_request_id": true,
- - "http_filters": [
- - {
- - "config": {
- - "policy": {
- - "peers": [
- - {
- - "mtls": {
- - "mode": "PERMISSIVE"
- - }
- - }
- - ]
- - }
- - },
- - "name": "istio_authn"
- - },
- - {
- - "config": {
- - "default_destination_service": "default",
- - "mixer_attributes": {
- - "attributes": {
- - "context.reporter.kind": {
- - "string_value": "inbound"
- - },
- - "context.reporter.uid": {
- - "string_value": "kubernetes://cloud-ali-v1-57cd9dc45c-rrhbq.default"
- - },
- - "destination.ip": {
- - "bytes_value": "AAAAAAAAAAAAAP//CgMA3w=="
- - },
- - "destination.namespace": {
- - "string_value": "default"
- - },
- - "destination.port": {
- - "int64_value": "8080"
- - },
- - "destination.uid": {
- - "string_value": "kubernetes://cloud-ali-v1-57cd9dc45c-rrhbq.default"
- - }
- - }
- - },
- - "service_configs": {
- - "default": {
- - }
- - },
- - "transport": {
- - "attributes_for_mixer_proxy": {
- - "attributes": {
- - "source.uid": {
- - "string_value": "kubernetes://cloud-ali-v1-57cd9dc45c-rrhbq.default"
- - }
- - }
- - },
- - "check_cluster": "outbound|9091||istio-policy.istio-system.svc.cluster.local",
- - "network_fail_policy": {
- - "policy": "FAIL_CLOSE"
- - },
- - "report_cluster": "outbound|9091||istio-telemetry.istio-system.svc.cluster.local"
- - }
- - },
- - "name": "mixer"
- - },
- - {
- - "name": "envoy.cors"
- - },
- - {
- - "name": "envoy.fault"
- - },
- - {
- - "name": "envoy.router"
- - }
- - ],
- - "route_config": {
- - "name": "inbound|8080||cloud-ali.default.svc.cluster.local",
- - "validate_clusters": false,
- - "virtual_hosts": [
- - {
- - "domains": [
- - "*"
- - ],
- - "name": "inbound|http|8080",
- - "routes": [
- - {
- - "decorator": {
- - "operation": "cloud-ali.default.svc.cluster.local:8080/*"
- - },
- - "match": {
- - "prefix": "/"
- - },
- - "per_filter_config": {
- - "mixer": {
- - "mixer_attributes": {
- - "attributes": {
- - "destination.service": {
- - "string_value": "cloud-ali.default.svc.cluster.local"
- - },
- - "destination.service.host": {
- - "string_value": "cloud-ali.default.svc.cluster.local"
- - },
- - "destination.service.name": {
- - "string_value": "cloud-ali"
- - },
- - "destination.service.namespace": {
- - "string_value": "default"
- - },
- - "destination.service.uid": {
- - "string_value": "istio://default/services/cloud-ali"
- - }
- - }
- - }
- - }
- - },
- - "route": {
- - "cluster": "inbound|8080||cloud-ali.default.svc.cluster.local",
- - "max_grpc_timeout": "0.000s",
- - "timeout": "0.000s"
- - }
- - }
- - ]
- - }
- - ]
- - },
- - "stat_prefix": "10.3.0.223_8080",
- - "stream_idle_timeout": "0.000s",
- - "tracing": {
- - "client_sampling": {
- - "value": 100
- - },
- - "overall_sampling": {
- - "value": 100
- - },
- - "random_sampling": {
- - "value": 1
- - }
- - },
- - "upgrade_configs": [
- - {
- - "upgrade_type": "websocket"
- - }
- - ],
- - "use_remote_address": false
- - }
- - }
- - ]
- - }
- - ],
- - "deprecatedV1": {
- - "bindToPort": false
- - },
- - "listenerFilters": [
- - {
- - "name": "envoy.listener.tls_inspector",
- - "config": {
- - }
- - }
- - ]
- + "portValue": 3333
- + }
- + },
- + "filterChains": [
- + {
- + "filters": [
- + {
- + "name": "envoy.tcp_proxy",
- + "config": {
- + "access_log": [
- + {
- + "config": {
- + "format": "[%START_TIME%] %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% \"%UPSTREAM_HOST%\" %UPSTREAM_CLUSTER% %UPSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_REMOTE_ADDRESS%\n",
- + "path": "/dev/stdout"
- + },
- + "name": "envoy.file_access_log"
- + }
- + ],
- + "cluster": "inbound|3333||mgmtCluster",
- + "stat_prefix": "inbound|3333||mgmtCluster"
- + }
- + }
- + ]
- + }
- + ],
- + "deprecatedV1": {
- + "bindToPort": false
- + }
- + }
- + },
- + {
- + "listener": {
- + "name": "10.3.0.223_9999",
- + "address": {
- + "socketAddress": {
- + "address": "10.3.0.223",
- + "portValue": 9999
- + }
- + },
- + "filterChains": [
- + {
- + "filters": [
- + {
- + "name": "envoy.tcp_proxy",
- + "config": {
- + "access_log": [
- + {
- + "config": {
- + "format": "[%START_TIME%] %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% \"%UPSTREAM_HOST%\" %UPSTREAM_CLUSTER% %UPSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_REMOTE_ADDRESS%\n",
- + "path": "/dev/stdout"
- + },
- + "name": "envoy.file_access_log"
- + }
- + ],
- + "cluster": "inbound|9999||mgmtCluster",
- + "stat_prefix": "inbound|9999||mgmtCluster"
- + }
- + }
- + ]
- + }
- + ],
- + "deprecatedV1": {
- + "bindToPort": false
- + }
- }
- },
- {
- "listener": {
- "name": "10.4.0.10_53",
- "address": {
- "socketAddress": {
- Routes Match
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement