mirror of https://github.com/hashicorp/consul
106 lines
2.3 KiB
Plaintext
106 lines
2.3 KiB
Plaintext
{
|
|
"admin": {
|
|
"access_log": [
|
|
{
|
|
"name": "envoy.access_loggers.file",
|
|
"typed_config": {
|
|
"@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog",
|
|
"path": "/dev/null"
|
|
}
|
|
}
|
|
],
|
|
"address": {
|
|
"socket_address": {
|
|
"address": "127.0.0.1",
|
|
"port_value": 19000
|
|
}
|
|
}
|
|
},
|
|
"node": {
|
|
"cluster": "test",
|
|
"id": "test-proxy",
|
|
"metadata": {
|
|
"namespace": "default",
|
|
"partition": "default"
|
|
}
|
|
},
|
|
"layered_runtime": {
|
|
"layers": [
|
|
{
|
|
"name": "base",
|
|
"static_layer": {
|
|
"re2.max_program_size.error_level": 1048576
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"static_resources": {
|
|
"clusters": [
|
|
{
|
|
"name": "local_agent",
|
|
"ignore_health_on_host_removal": false,
|
|
"connect_timeout": "1s",
|
|
"type": "STATIC",
|
|
"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": {}
|
|
}
|
|
}
|
|
},
|
|
"loadAssignment": {
|
|
"clusterName": "local_agent",
|
|
"endpoints": [
|
|
{
|
|
"lbEndpoints": [
|
|
{
|
|
"endpoint": {
|
|
"address": {
|
|
"socket_address": {
|
|
"address": "127.0.0.1",
|
|
"port_value": 8502
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"stats_config": {
|
|
"name": "fake_config"
|
|
},
|
|
"dynamic_resources": {
|
|
"lds_config": {
|
|
"ads": {},
|
|
"initial_fetch_timeout": "0s",
|
|
"resource_api_version": "V3"
|
|
},
|
|
"cds_config": {
|
|
"ads": {},
|
|
"initial_fetch_timeout": "0s",
|
|
"resource_api_version": "V3"
|
|
},
|
|
"ads_config": {
|
|
"api_type": "DELTA_GRPC",
|
|
"transport_api_version": "V3",
|
|
"grpc_services": {
|
|
"initial_metadata": [
|
|
{
|
|
"key": "x-consul-token",
|
|
"value": ""
|
|
}
|
|
],
|
|
"envoy_grpc": {
|
|
"cluster_name": "local_agent"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|