mirror of https://github.com/hashicorp/consul
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
{
|
|
"nonce": "00000001",
|
|
"resources": [
|
|
{
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
"connectTimeout": "5s",
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
"dnsRefreshRate": "10s",
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
"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": "LOGICAL_DNS",
|
|
"typedExtensionProtocolOptions": {
|
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
|
"explicitHttpConfig": {
|
|
"http2ProtocolOptions": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
"versionInfo": "00000001"
|
|
} |