2020-04-13 16:33:01 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
2020-04-13 16:33:01 +00:00
|
|
|
"resources": [
|
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2020-06-03 21:28:45 +00:00
|
|
|
"connectTimeout": "5s",
|
2023-09-11 16:40:19 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"dnsRefreshRate": "10s",
|
2020-06-03 21:28:45 +00:00
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "api.altdomain",
|
|
|
|
"portValue": 8081
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"healthStatus": "HEALTHY",
|
|
|
|
"loadBalancingWeight": 1
|
|
|
|
}
|
|
|
|
]
|
2020-04-13 16:33:01 +00:00
|
|
|
}
|
2020-06-03 21:28:45 +00:00
|
|
|
]
|
2020-04-13 16:33:01 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
2021-02-22 21:00:15 +00:00
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
2021-02-22 21:00:15 +00:00
|
|
|
"commonTlsContext": {
|
|
|
|
"tlsCertificates": [
|
|
|
|
{
|
|
|
|
"certificateChain": {
|
|
|
|
"filename": "api.cert.pem"
|
|
|
|
},
|
|
|
|
"privateKey": {
|
|
|
|
"filename": "api.key.pem"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"tlsParams": {},
|
2021-02-22 21:00:15 +00:00
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
2020-04-27 22:25:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
},
|
|
|
|
"type": "LOGICAL_DNS"
|
2020-04-13 16:33:01 +00:00
|
|
|
},
|
2020-06-19 19:31:39 +00:00
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2020-06-19 19:31:39 +00:00
|
|
|
"connectTimeout": "5s",
|
2023-09-11 16:40:19 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"dnsRefreshRate": "10s",
|
2020-06-19 19:31:39 +00:00
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "cache.mydomain",
|
|
|
|
"portValue": 8081
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"healthStatus": "HEALTHY",
|
|
|
|
"loadBalancingWeight": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "LOGICAL_DNS"
|
2020-06-19 19:31:39 +00:00
|
|
|
},
|
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2020-06-19 19:31:39 +00:00
|
|
|
"connectTimeout": "5s",
|
2023-09-11 16:40:19 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"dnsRefreshRate": "10s",
|
2020-06-19 19:31:39 +00:00
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "db.mydomain",
|
|
|
|
"portValue": 8081
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"healthStatus": "UNHEALTHY",
|
|
|
|
"loadBalancingWeight": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "LOGICAL_DNS"
|
2020-06-19 19:31:39 +00:00
|
|
|
},
|
2020-04-13 16:33:01 +00:00
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2023-09-11 16:40:19 +00:00
|
|
|
"connectTimeout": "5s",
|
2020-04-13 16:33:01 +00:00
|
|
|
"edsClusterConfig": {
|
|
|
|
"edsConfig": {
|
2023-09-11 16:40:19 +00:00
|
|
|
"ads": {},
|
2021-02-26 22:23:15 +00:00
|
|
|
"resourceApiVersion": "V3"
|
2020-04-13 16:33:01 +00:00
|
|
|
}
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
2021-02-22 21:00:15 +00:00
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
2021-02-22 21:00:15 +00:00
|
|
|
"commonTlsContext": {
|
2023-09-11 16:40:19 +00:00
|
|
|
"tlsParams": {},
|
2021-02-22 21:00:15 +00:00
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
|
|
|
}
|
2020-04-27 22:25:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
},
|
|
|
|
"type": "EDS"
|
2020-04-13 16:33:01 +00:00
|
|
|
}
|
|
|
|
],
|
2021-02-26 22:23:15 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2023-09-11 16:40:19 +00:00
|
|
|
"versionInfo": "00000001"
|
2020-04-13 16:33:01 +00:00
|
|
|
}
|