Created
November 2, 2017 20:17
-
-
Save ldemailly/ed5cbda3e7aefbb76cde936da560bd37 to your computer and use it in GitHub Desktop.
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
ldemailly@demo-vm-2:~$ curl "http://istio-pilot:8080/v1/listeners/x/sidecar~10.150.0.12~~" | |
{ | |
"listeners": [ | |
{ | |
"address": "tcp://0.0.0.0:15001", | |
"name": "virtual", | |
"filters": [], | |
"bind_to_port": true, | |
"use_original_dst": true | |
}, | |
{ | |
"address": "tcp://0.0.0.0:3000", | |
"name": "http_0.0.0.0_3000", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "3000", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:443", | |
"name": "http_0.0.0.0_443", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "443", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:80", | |
"name": "http_0.0.0.0_80", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "80", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:8079", | |
"name": "http_0.0.0.0_8079", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "8079", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:8080", | |
"name": "http_0.0.0.0_8080", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "8080", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:9080", | |
"name": "http_0.0.0.0_9080", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "9080", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:9093", | |
"name": "http_0.0.0.0_9093", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "9093", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://0.0.0.0:9411", | |
"name": "http_0.0.0.0_9411", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "http_connection_manager", | |
"config": { | |
"codec_type": "auto", | |
"stat_prefix": "http", | |
"generate_request_id": true, | |
"tracing": { | |
"operation_name": "egress" | |
}, | |
"rds": { | |
"cluster": "rds", | |
"route_config_name": "9411", | |
"refresh_delay_ms": 1000 | |
}, | |
"filters": [ | |
{ | |
"type": "decoder", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.service": "mysqldb.vm.svc.cluster.local", | |
"destination.uid": "kubernetes://" | |
}, | |
"forward_attributes": { | |
"source.ip": "10.150.0.12", | |
"source.uid": "kubernetes://" | |
}, | |
"quota_name": "RequestCount" | |
} | |
}, | |
{ | |
"type": "decoder", | |
"name": "router", | |
"config": {} | |
} | |
], | |
"access_log": [ | |
{ | |
"path": "/dev/stdout" | |
} | |
] | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.150.0.12:3306", | |
"name": "tcp_10.150.0.12_3306", | |
"filters": [ | |
{ | |
"type": "both", | |
"name": "mixer", | |
"config": { | |
"mixer_attributes": { | |
"destination.ip": "10.150.0.12", | |
"destination.uid": "kubernetes://" | |
} | |
} | |
}, | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "in.3306", | |
"destination_ip_list": [ | |
"10.150.0.12/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"ssl_context": { | |
"cert_chain_file": "/etc/certs/cert-chain.pem", | |
"private_key_file": "/etc/certs/key.pem", | |
"ca_cert_file": "/etc/certs/root-cert.pem", | |
"require_client_certificate": true | |
}, | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.240.10:53", | |
"name": "tcp_10.63.240.10_53", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.f8623c41b5eb88a22366307b5bf7722b8d1d67c6", | |
"destination_ip_list": [ | |
"10.63.240.10/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.240.194:80", | |
"name": "tcp_10.63.240.194_80", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.d36cae7561add372bbf7e7a4d2a004cde6987d6d", | |
"destination_ip_list": [ | |
"10.63.240.194/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.240.1:443", | |
"name": "tcp_10.63.240.1_443", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.64a5722ae8d6cfbb7c8968b6de8ce26c7c7dd032", | |
"destination_ip_list": [ | |
"10.63.240.1/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.242.120:80", | |
"name": "tcp_10.63.242.120_80", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.bffcf45bb7cf7eacfc01ecd666ddac27979567c5", | |
"destination_ip_list": [ | |
"10.63.242.120/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.245.111:443", | |
"name": "tcp_10.63.245.111_443", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.fa1590d71a1526d71ac2ae219451b01a879a2f48", | |
"destination_ip_list": [ | |
"10.63.245.111/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.246.69:8060", | |
"name": "tcp_10.63.246.69_8060", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.5cb271c99221b503a041b8546a7e984dd03016c8", | |
"destination_ip_list": [ | |
"10.63.246.69/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.247.21:3306", | |
"name": "tcp_10.63.247.21_3306", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.09cf08f72cba01c88169b6031cdd1afa736669dd", | |
"destination_ip_list": [ | |
"10.63.247.21/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.247.51:80", | |
"name": "tcp_10.63.247.51_80", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.f4edaeaa7ddfb6463066fba08871238077692b33", | |
"destination_ip_list": [ | |
"10.63.247.51/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.249.122:3306", | |
"name": "tcp_10.63.249.122_3306", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.560f4b837a8479916314dbd05a4fc826f79b2b49", | |
"destination_ip_list": [ | |
"10.63.249.122/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.249.141:9091", | |
"name": "tcp_10.63.249.141_9091", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.161fce79762c0ef0995e61e5615d7f748178a9d0", | |
"destination_ip_list": [ | |
"10.63.249.141/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.249.158:3306", | |
"name": "tcp_10.63.249.158_3306", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.5d7642638571c77f9db9761bfa8b485f3693d28c", | |
"destination_ip_list": [ | |
"10.63.249.158/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.254.187:8080", | |
"name": "tcp_10.63.254.187_8080", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.4d5691d420d2311622e416c7ba493898eedabfa0", | |
"destination_ip_list": [ | |
"10.63.254.187/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.254.56:9090", | |
"name": "tcp_10.63.254.56_9090", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.ee87a67beba702e80085fe6805feae78fa5a178a", | |
"destination_ip_list": [ | |
"10.63.254.56/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.255.165:42422", | |
"name": "tcp_10.63.255.165_42422", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.1f1ef24e946aeba8865724ba7ecaa0c6ad4274ad", | |
"destination_ip_list": [ | |
"10.63.255.165/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.255.165:9091", | |
"name": "tcp_10.63.255.165_9091", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.666d5021f5e9ec0d3b17c438c586682ced3bdcec", | |
"destination_ip_list": [ | |
"10.63.255.165/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.255.165:9094", | |
"name": "tcp_10.63.255.165_9094", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.1681df4675df882eaf09e408b6aa025936554d31", | |
"destination_ip_list": [ | |
"10.63.255.165/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
}, | |
{ | |
"address": "tcp://10.63.255.165:9102", | |
"name": "tcp_10.63.255.165_9102", | |
"filters": [ | |
{ | |
"type": "read", | |
"name": "tcp_proxy", | |
"config": { | |
"stat_prefix": "tcp", | |
"route_config": { | |
"routes": [ | |
{ | |
"cluster": "out.63bcd85452fc2d4ff30fb33a2f42563c3957119c", | |
"destination_ip_list": [ | |
"10.63.255.165/32" | |
] | |
} | |
] | |
} | |
} | |
} | |
], | |
"bind_to_port": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment