2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"name": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "api.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"lbEndpoints": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "api.altdomain",
|
|
|
|
"portValue": 8081
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"healthStatus": "HEALTHY",
|
|
|
|
"loadBalancingWeight": 1
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
|
|
|
"commonTlsContext": {
|
|
|
|
"tlsParams": {},
|
|
|
|
"tlsCertificates": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"certificateChain": {
|
|
|
|
"filename": "api.cert.pem"
|
2022-03-31 20:24:46 +00:00
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"privateKey": {
|
|
|
|
"filename": "api.key.pem"
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2023-02-01 15:51:08 +00:00
|
|
|
"validationContext": {
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "ca.cert.pem"
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.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": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"lbEndpoints": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "cache.mydomain",
|
|
|
|
"portValue": 8081
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"healthStatus": "HEALTHY",
|
|
|
|
"loadBalancingWeight": 1
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"outlierDetection": {}
|
2022-03-31 20:24:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.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": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"lbEndpoints": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "db.mydomain",
|
|
|
|
"portValue": 8081
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"healthStatus": "UNHEALTHY",
|
|
|
|
"loadBalancingWeight": 1
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"outlierDetection": {}
|
2022-03-31 20:24:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"@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": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"lbEndpoints": [
|
2022-03-31 20:24:46 +00:00
|
|
|
{
|
2023-02-01 15:51:08 +00:00
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "lambda.us-east-1.amazonaws.com",
|
|
|
|
"portValue": 443
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"transportSocket": {
|
|
|
|
"name": "tls",
|
|
|
|
"typedConfig": {
|
|
|
|
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
|
|
|
|
"sni": "*.amazonaws.com"
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
},
|
2023-02-01 15:51:08 +00:00
|
|
|
"metadata": {
|
|
|
|
"filterMetadata": {
|
|
|
|
"com.amazonaws.lambda": {
|
|
|
|
"egress_gateway": true
|
|
|
|
}
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2023-02-01 15:51:08 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"nonce": "00000001"
|
2022-03-31 20:24:46 +00:00
|
|
|
}
|