2020-04-14 14:59:23 +00:00
|
|
|
{
|
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
|
|
|
"name": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2020-06-03 21:28:45 +00:00
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"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-14 14:59:23 +00:00
|
|
|
}
|
2020-06-03 21:28:45 +00:00
|
|
|
]
|
2020-04-14 14:59:23 +00:00
|
|
|
},
|
2021-02-22 21:00:15 +00:00
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"outlierDetection": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.auth.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
|
|
|
"tlsParams": {
|
2020-04-27 22:25:37 +00:00
|
|
|
|
2021-02-22 21:00:15 +00:00
|
|
|
},
|
|
|
|
"tlsCertificates": [
|
|
|
|
{
|
|
|
|
"certificateChain": {
|
|
|
|
"filename": "api.cert.pem"
|
|
|
|
},
|
|
|
|
"privateKey": {
|
|
|
|
"filename": "api.key.pem"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
2020-04-27 22:25:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-14 14:59:23 +00:00
|
|
|
}
|
|
|
|
},
|
2020-06-19 19:31:39 +00:00
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
|
|
|
"name": "cache.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"outlierDetection": {
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
|
|
|
"name": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"outlierDetection": {
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
2020-04-14 14:59:23 +00:00
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
|
|
|
"name": "v1.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "EDS",
|
|
|
|
"edsClusterConfig": {
|
|
|
|
"edsConfig": {
|
|
|
|
"ads": {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"connectTimeout": "5s",
|
2021-02-22 21:00:15 +00:00
|
|
|
"outlierDetection": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.auth.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
|
|
|
"tlsParams": {
|
2020-04-27 22:25:37 +00:00
|
|
|
|
2021-02-22 21:00:15 +00:00
|
|
|
},
|
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
|
|
|
}
|
2020-04-27 22:25:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-14 14:59:23 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
|
|
|
"name": "v2.web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "EDS",
|
|
|
|
"edsClusterConfig": {
|
|
|
|
"edsConfig": {
|
|
|
|
"ads": {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"connectTimeout": "5s",
|
2021-02-22 21:00:15 +00:00
|
|
|
"outlierDetection": {
|
2020-04-27 22:25:37 +00:00
|
|
|
|
2021-02-22 21:00:15 +00:00
|
|
|
},
|
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.auth.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
|
|
|
"tlsParams": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
|
|
|
}
|
2020-04-27 22:25:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-14 14:59:23 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
|
|
|
"name": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "EDS",
|
|
|
|
"edsClusterConfig": {
|
|
|
|
"edsConfig": {
|
|
|
|
"ads": {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"connectTimeout": "5s",
|
2021-02-22 21:00:15 +00:00
|
|
|
"outlierDetection": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.auth.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
|
|
|
"tlsParams": {
|
2020-04-27 22:25:37 +00:00
|
|
|
|
2021-02-22 21:00:15 +00:00
|
|
|
},
|
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
|
|
|
}
|
2020-04-27 22:25:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-14 14:59:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeUrl": "type.googleapis.com/envoy.api.v2.Cluster",
|
|
|
|
"nonce": "00000001"
|
|
|
|
}
|