1{ 2 "admin": { 3 "access_log_path": "/dev/null", 4 "address": { 5 "socket_address": { 6 "address": "127.0.0.1", 7 "port_value": 19000 8 } 9 } 10 }, 11 "node": { 12 "cluster": "ingress-gateway-1", 13 "id": "ingress-gateway-1", 14 "metadata": { 15 "namespace": "default", 16 "envoy_version": "1.14.2" 17 } 18 }, 19 "static_resources": { 20 "clusters": [ 21 { 22 "name": "local_agent", 23 "connect_timeout": "1s", 24 "type": "STATIC", 25 "http2_protocol_options": {}, 26 "hosts": [ 27 { 28 "socket_address": { 29 "address": "127.0.0.1", 30 "port_value": 8502 31 } 32 } 33 ] 34 }, 35 { 36 "name": "self_admin", 37 "connect_timeout": "5s", 38 "type": "STATIC", 39 "http_protocol_options": {}, 40 "hosts": [ 41 { 42 "socket_address": { 43 "address": "127.0.0.1", 44 "port_value": 19000 45 } 46 } 47 ] 48 } 49 ], 50 "listeners": [ 51 { 52 "name": "envoy_ready_listener", 53 "address": { 54 "socket_address": { 55 "address": "127.0.0.1", 56 "port_value": 443 57 } 58 }, 59 "filter_chains": [ 60 { 61 "filters": [ 62 { 63 "name": "envoy.http_connection_manager", 64 "config": { 65 "stat_prefix": "envoy_ready", 66 "codec_type": "HTTP1", 67 "route_config": { 68 "name": "self_admin_route", 69 "virtual_hosts": [ 70 { 71 "name": "self_admin", 72 "domains": [ 73 "*" 74 ], 75 "routes": [ 76 { 77 "match": { 78 "path": "/ready" 79 }, 80 "route": { 81 "cluster": "self_admin", 82 "prefix_rewrite": "/ready" 83 } 84 }, 85 { 86 "match": { 87 "prefix": "/" 88 }, 89 "direct_response": { 90 "status": 404 91 } 92 } 93 ] 94 } 95 ] 96 }, 97 "http_filters": [ 98 { 99 "name": "envoy.router" 100 } 101 ] 102 } 103 } 104 ] 105 } 106 ] 107 } 108 ] 109 }, 110 "stats_config": { 111 "stats_tags": [ 112 { 113 "regex": "^cluster\\.((?:([^.]+)~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)", 114 "tag_name": "consul.custom_hash" 115 }, 116 { 117 "regex": "^cluster\\.((?:[^.]+~)?(?:([^.]+)\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)", 118 "tag_name": "consul.service_subset" 119 }, 120 { 121 "regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)", 122 "tag_name": "consul.service" 123 }, 124 { 125 "regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)", 126 "tag_name": "consul.namespace" 127 }, 128 { 129 "regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)", 130 "tag_name": "consul.datacenter" 131 }, 132 { 133 "regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.consul\\.)", 134 "tag_name": "consul.routing_type" 135 }, 136 { 137 "regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.consul\\.)", 138 "tag_name": "consul.trust_domain" 139 }, 140 { 141 "regex": "^cluster\\.(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)", 142 "tag_name": "consul.target" 143 }, 144 { 145 "regex": "^cluster\\.(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+)\\.consul\\.)", 146 "tag_name": "consul.full_target" 147 }, 148 { 149 "tag_name": "local_cluster", 150 "fixed_value": "ingress-gateway-1" 151 } 152 ], 153 "use_all_default_tags": true 154 }, 155 "dynamic_resources": { 156 "lds_config": { 157 "ads": {} 158 }, 159 "cds_config": { 160 "ads": {} 161 }, 162 "ads_config": { 163 "api_type": "GRPC", 164 "set_node_on_first_message_only": true, 165 "grpc_services": { 166 "initial_metadata": [ 167 { 168 "key": "x-consul-token", 169 "value": "" 170 } 171 ], 172 "envoy_grpc": { 173 "cluster_name": "local_agent" 174 } 175 } 176 } 177 }, 178 "layered_runtime": { 179 "layers": [ 180 { 181 "name": "static_layer", 182 "static_layer": { 183 "envoy.deprecated_features:envoy.api.v2.Cluster.tls_context": true, 184 "envoy.deprecated_features:envoy.config.trace.v2.ZipkinConfig.HTTP_JSON_V1": true, 185 "envoy.deprecated_features:envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.operation_name": true 186 } 187 } 188 ] 189 } 190} 191