2022-07-08 20:21:05 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
2022-07-08 20:21:05 +00:00
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"connectTimeout": "5s",
|
2023-09-11 16:40:19 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"dnsRefreshRate": "10s",
|
2022-07-08 20:21:05 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "v1.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
2022-07-08 20:21:05 +00:00
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
2023-09-11 16:40:19 +00:00
|
|
|
"tlsParams": {},
|
2022-07-08 20:21:05 +00:00
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
},
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"typedExtensionProtocolOptions": {
|
|
|
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
|
|
|
"explicitHttpConfig": {
|
|
|
|
"http2ProtocolOptions": {}
|
|
|
|
}
|
|
|
|
}
|
2022-07-08 20:21:05 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"connectTimeout": "5s",
|
2023-09-11 16:40:19 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"dnsRefreshRate": "10s",
|
2022-07-08 20:21:05 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "v2.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
2022-07-08 20:21:05 +00:00
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
2023-09-11 16:40:19 +00:00
|
|
|
"tlsParams": {},
|
2022-07-08 20:21:05 +00:00
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
},
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"typedExtensionProtocolOptions": {
|
|
|
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
|
|
|
"explicitHttpConfig": {
|
|
|
|
"http2ProtocolOptions": {}
|
|
|
|
}
|
|
|
|
}
|
2022-07-08 20:21:05 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"connectTimeout": "5s",
|
2023-09-11 16:40:19 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"dnsRefreshRate": "10s",
|
2022-07-08 20:21:05 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
2022-07-08 20:21:05 +00:00
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
2023-09-11 16:40:19 +00:00
|
|
|
"tlsParams": {},
|
2022-07-08 20:21:05 +00:00
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
},
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"typedExtensionProtocolOptions": {
|
|
|
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
|
|
|
"explicitHttpConfig": {
|
|
|
|
"http2ProtocolOptions": {}
|
|
|
|
}
|
|
|
|
}
|
2022-07-08 20:21:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2023-09-11 16:40:19 +00:00
|
|
|
"versionInfo": "00000001"
|
2022-07-08 20:21:05 +00:00
|
|
|
}
|