110 lines
8.3 KiB
Plaintext
110 lines
8.3 KiB
Plaintext
|
{
|
||
|
"admin": {
|
||
|
"access_log_path": "/dev/null",
|
||
|
"address": {
|
||
|
"socket_address": {
|
||
|
"address": "127.0.0.1",
|
||
|
"port_value": 19000
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"node": {
|
||
|
"cluster": "test-proxy",
|
||
|
"id": "test-proxy"
|
||
|
},
|
||
|
"static_resources": {
|
||
|
"clusters": [
|
||
|
{
|
||
|
"name": "local_agent",
|
||
|
"connect_timeout": "1s",
|
||
|
"type": "STATIC",
|
||
|
"tls_context": {
|
||
|
"common_tls_context": {
|
||
|
"validation_context": {
|
||
|
"trusted_ca": {
|
||
|
"inline_bytes": "[45 45 45 45 45 66 69 71 73 78 32 67 69 82 84 73 70 73 67 65 84 69 45 45 45 45 45 10 77 73 73 69 116 122 67 67 65 53 43 103 65 119 73 66 65 103 73 74 65 73 101 119 82 77 73 56 79 110 118 84 77 65 48 71 67 83 113 71 83 73 98 51 68 81 69 66 66 81 85 65 77 73 71 89 77 81 115 119 67 81 89 68 10 86 81 81 71 69 119 74 86 85 122 69 76 77 65 107 71 65 49 85 69 67 66 77 67 81 48 69 120 70 106 65 85 66 103 78 86 66 65 99 84 68 86 78 104 98 105 66 71 99 109 70 117 89 50 108 122 89 50 56 120 72 68 65 97 10 66 103 78 86 66 65 111 84 69 48 104 104 99 50 104 112 81 50 57 121 99 67 66 85 90 88 78 48 73 69 78 108 99 110 81 120 68 68 65 75 66 103 78 86 66 65 115 84 65 48 82 108 100 106 69 87 77 66 81 71 65 49 85 69 10 65 120 77 78 100 71 86 122 100 67 53 112 98 110 82 108 99 109 53 104 98 68 69 103 77 66 52 71 67 83 113 71 83 73 98 51 68 81 69 74 65 82 89 82 100 71 86 122 100 69 66 112 98 110 82 108 99 109 53 104 98 67 53 106 10 98 50 48 119 72 104 99 78 77 84 81 119 78 68 65 51 77 84 107 119 77 84 65 52 87 104 99 78 77 106 81 119 78 68 65 48 77 84 107 119 77 84 65 52 87 106 67 66 109 68 69 76 77 65 107 71 65 49 85 69 66 104 77 67 10 86 86 77 120 67 122 65 74 66 103 78 86 66 65 103 84 65 107 78 66 77 82 89 119 70 65 89 68 86 81 81 72 69 119 49 84 89 87 52 103 82 110 74 104 98 109 78 112 99 50 78 118 77 82 119 119 71 103 89 68 86 81 81 75 10 69 120 78 73 89 88 78 111 97 85 78 118 99 110 65 103 86 71 86 122 100 67 66 68 90 88 74 48 77 81 119 119 67 103 89 68 86 81 81 76 69 119 78 69 90 88 89 120 70 106 65 85 66 103 78 86 66 65 77 84 68 88 82 108 10 99 51 81 117 97 87 53 48 90 88 74 117 89 87 119 120 73 68 65 101 66 103 107 113 104 107 105 71 57 119 48 66 67 81 69 87 69 88 82 108 99 51 82 65 97 87 53 48 90 88 74 117 89 87 119 117 89 50 57 116 77 73 73 66 10 73 106 65 78 66 103 107 113 104 107 105 71 57 119 48 66 65 81 69 70 65 65 79 67 65 81 56 65 77 73 73 66 67 103 75 67 65 81 69 65 120 114 115 54 74 75 52 78 112 105 79 73 116 120 114 112 78 82 47 49 112 112 85 85 10 109 72 55 112 50 66 103 76 67 66 90 54 101 72 100 99 108 108 101 57 74 53 54 105 54 56 97 100 116 56 74 56 53 122 97 113 112 104 67 102 122 54 86 68 80 53 56 68 115 70 120 43 78 53 48 80 90 121 106 81 97 68 115 85 10 100 48 72 101 106 82 113 102 72 82 77 116 103 50 79 43 85 81 107 118 52 90 54 54 43 86 111 43 103 99 54 117 71 117 65 78 105 50 120 77 116 83 89 68 86 84 65 113 113 122 70 52 56 79 79 80 81 68 103 89 107 122 99 71 10 120 99 70 90 122 84 82 70 70 90 116 50 118 80 110 121 72 106 56 99 72 99 97 70 111 47 78 77 78 86 104 55 67 51 121 84 88 101 118 82 71 78 109 57 117 50 109 114 98 120 67 69 101 105 72 122 70 67 50 87 85 110 118 103 10 85 50 106 81 117 67 55 70 104 110 108 51 51 90 100 51 66 54 100 51 109 81 72 54 79 50 51 110 99 109 119 120 84 99 80 85 74 101 54 120 90 97 73 82 114 68 117 122 119 85 99 121 104 76 106 53 90 51 102 97 97 103 47 102 10 112 70 73 73 99 72 83 105 72 82 102 111 113 72 76 71 115 71 103 43 51 115 119 73 100 47 122 86 74 83 83 68 72 114 55 112 74 85 117 55 67 114 101 43 118 90 97 54 51 70 113 68 97 111 111 113 118 110 105 115 114 81 73 68 10 65 81 65 66 111 52 73 66 65 68 67 66 47 84 65 100 66 103 78 86 72 81 52 69 70 103 81 85 111 47 110 114 79 102 113 118 98 101 101 50 86 107 108 86 75 73 70 108 121 81 69 98 117 74 85 119 103 99 48 71 65 49 85 100 10 73 119 83 66 120 84 67 66 119 111 65 85 111 47 110 114 79 102 113 118 98 101 101 50 86 107 108 86 75 73 70 108 121 81 69 98 117 74 87 104 103 90 54 107 103 90 115 119 103 90 103 120 67 122 65 74 66 103 78 86 66 65 89 84 10 65 108 86 84 77 81 115 119 67 81 89 68 86 81 81 73 69 119 74 68 81 84 69 87 77 66 81 71 65 49 85 69 66 120 77 78 85 50 70 117 73 69 90 121 89 87 53 106 97 88 78 106 98 122 69 99 77 66 111 71 65 49 85 69 10 67 104 77 84 83 71 70 122 97 71 108 68 98 51 74 119 73 70 82 108 99 51 81 103 81 50 86 121 100 68 69 77 77 65 111 71 65 49 85 69 67 120 77 68 82 71 86 50 77 82 89 119 70 65 89 68 86 81 81 68 69 119 49 48 10 90 88 78 48 76 109 108 117 100 71 86 121 98 109 70 115 77 83 65 119 72 103 89 74 75 111 90 73 104 118 99 78 65 81 107 66 70 104 70 48 90
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"http2_protocol_options": {},
|
||
|
"hosts": [
|
||
|
{
|
||
|
"socket_address": {
|
||
|
"address": "127.0.0.1",
|
||
|
"port_value": 8502
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"stats_config": {
|
||
|
"stats_tags": [
|
||
|
{
|
||
|
"regex": "^cluster\\.((?:([^.]+)~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
||
|
"tag_name": "consul.custom_hash"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.((?:[^.]+~)?(?:([^.]+)\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
||
|
"tag_name": "consul.service_subset"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
||
|
"tag_name": "consul.service"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.[^.]+\\.consul\\.)",
|
||
|
"tag_name": "consul.namespace"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)",
|
||
|
"tag_name": "consul.datacenter"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.[^.]+\\.consul\\.)",
|
||
|
"tag_name": "consul.routing_type"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.([^.]+)\\.consul\\.)",
|
||
|
"tag_name": "consul.trust_domain"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+)\\.[^.]+\\.[^.]+\\.consul\\.)",
|
||
|
"tag_name": "consul.target"
|
||
|
},
|
||
|
{
|
||
|
"regex": "^cluster\\.(((?:[^.]+~)?(?:[^.]+\\.)?[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+)\\.consul\\.)",
|
||
|
"tag_name": "consul.full_target"
|
||
|
},
|
||
|
{
|
||
|
"tag_name": "local_cluster",
|
||
|
"fixed_value": "test-proxy"
|
||
|
}
|
||
|
],
|
||
|
"use_all_default_tags": true
|
||
|
},
|
||
|
"dynamic_resources": {
|
||
|
"lds_config": {
|
||
|
"ads": {}
|
||
|
},
|
||
|
"cds_config": {
|
||
|
"ads": {}
|
||
|
},
|
||
|
"ads_config": {
|
||
|
"api_type": "GRPC",
|
||
|
"grpc_services": {
|
||
|
"initial_metadata": [
|
||
|
{
|
||
|
"key": "x-consul-token",
|
||
|
"value": ""
|
||
|
}
|
||
|
],
|
||
|
"envoy_grpc": {
|
||
|
"cluster_name": "local_agent"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|