mirror of https://github.com/status-im/consul.git
181 lines
5.1 KiB
Plaintext
181 lines
5.1 KiB
Plaintext
|
{
|
||
|
"versionInfo": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
||
|
"name": "v1.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"type": "LOGICAL_DNS",
|
||
|
"connectTimeout": "5s",
|
||
|
"loadAssignment": {
|
||
|
"clusterName": "v1.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "web.external.service",
|
||
|
"portValue": 9090
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"healthStatus": "HEALTHY",
|
||
|
"loadBalancingWeight": 1
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"typedExtensionProtocolOptions": {
|
||
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
||
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
||
|
"explicitHttpConfig": {
|
||
|
"http2ProtocolOptions": {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"dnsRefreshRate": "10s",
|
||
|
"dnsLookupFamily": "V4_ONLY",
|
||
|
"outlierDetection": {
|
||
|
|
||
|
},
|
||
|
"transportSocket": {
|
||
|
"name": "tls",
|
||
|
"typedConfig": {
|
||
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
||
|
"commonTlsContext": {
|
||
|
"tlsParams": {
|
||
|
|
||
|
},
|
||
|
"validationContext": {
|
||
|
"trustedCa": {
|
||
|
"filename": "ca.cert.pem"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
||
|
"name": "v2.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"type": "LOGICAL_DNS",
|
||
|
"connectTimeout": "5s",
|
||
|
"loadAssignment": {
|
||
|
"clusterName": "v2.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "web.external2.service",
|
||
|
"portValue": 9091
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"healthStatus": "HEALTHY",
|
||
|
"loadBalancingWeight": 1
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"typedExtensionProtocolOptions": {
|
||
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
||
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
||
|
"explicitHttpConfig": {
|
||
|
"http2ProtocolOptions": {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"dnsRefreshRate": "10s",
|
||
|
"dnsLookupFamily": "V4_ONLY",
|
||
|
"outlierDetection": {
|
||
|
|
||
|
},
|
||
|
"transportSocket": {
|
||
|
"name": "tls",
|
||
|
"typedConfig": {
|
||
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
||
|
"commonTlsContext": {
|
||
|
"tlsParams": {
|
||
|
|
||
|
},
|
||
|
"validationContext": {
|
||
|
"trustedCa": {
|
||
|
"filename": "ca.cert.pem"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
||
|
"name": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"type": "LOGICAL_DNS",
|
||
|
"connectTimeout": "5s",
|
||
|
"loadAssignment": {
|
||
|
"clusterName": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "web.external.service",
|
||
|
"portValue": 9090
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"healthStatus": "HEALTHY",
|
||
|
"loadBalancingWeight": 1
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"typedExtensionProtocolOptions": {
|
||
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
||
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
||
|
"explicitHttpConfig": {
|
||
|
"http2ProtocolOptions": {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"dnsRefreshRate": "10s",
|
||
|
"dnsLookupFamily": "V4_ONLY",
|
||
|
"outlierDetection": {
|
||
|
|
||
|
},
|
||
|
"transportSocket": {
|
||
|
"name": "tls",
|
||
|
"typedConfig": {
|
||
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
||
|
"commonTlsContext": {
|
||
|
"tlsParams": {
|
||
|
|
||
|
},
|
||
|
"validationContext": {
|
||
|
"trustedCa": {
|
||
|
"filename": "ca.cert.pem"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
||
|
"nonce": "00000001"
|
||
|
}
|