2022-05-24 16:51:52 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
2022-05-24 16:51:52 +00:00
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2022-07-14 18:45:51 +00:00
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
2022-07-18 21:10:06 +00:00
|
|
|
"clusterName": "destination.192-168-0-1.external-IP-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "192.168.0.1",
|
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.192-168-0-1.external-IP-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "STATIC"
|
2022-07-18 21:10:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "destination.192-168-0-2.external-IP-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2022-07-14 18:45:51 +00:00
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "192.168.0.2",
|
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2022-05-24 16:51:52 +00:00
|
|
|
}
|
2022-07-14 18:45:51 +00:00
|
|
|
]
|
2022-05-24 16:51:52 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.192-168-0-2.external-IP-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "STATIC"
|
2022-05-24 16:51:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
2022-07-18 21:10:06 +00:00
|
|
|
"clusterName": "destination.192-168-0-2.external-IP-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2022-05-24 16:51:52 +00:00
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
2022-07-18 21:10:06 +00:00
|
|
|
"address": "192.168.0.2",
|
2022-05-24 16:51:52 +00:00
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.192-168-0-2.external-IP-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "STATIC"
|
2022-07-14 18:45:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2022-07-18 21:10:06 +00:00
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "destination.192-168-0-3.external-IP-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "192.168.0.3",
|
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.192-168-0-3.external-IP-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "STATIC"
|
2022-07-18 21:10:06 +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-18 21:10:06 +00:00
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "destination.api-hashicorp-com.external-hostname-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "api.hashicorp.com",
|
|
|
|
"portValue": 8089
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.api-hashicorp-com.external-hostname-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "LOGICAL_DNS"
|
2022-07-18 21:10:06 +00:00
|
|
|
},
|
2022-07-28 19:17:35 +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-28 19:17:35 +00:00
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "destination.api-test-com.external-hostname-with-SNI.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "api.test.com",
|
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.api-test-com.external-hostname-with-SNI.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
2022-07-28 19:17:35 +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-28 19:17:35 +00:00
|
|
|
"validationContext": {
|
2023-12-22 18:34:44 +00:00
|
|
|
"matchTypedSubjectAltNames": [
|
2022-07-28 19:17:35 +00:00
|
|
|
{
|
2023-12-22 18:34:44 +00:00
|
|
|
"matcher": {
|
|
|
|
"exact": "api.test.com"
|
2024-01-03 16:53:39 +00:00
|
|
|
},
|
|
|
|
"sanType": "URI"
|
2022-07-28 19:17:35 +00:00
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
],
|
|
|
|
"trustedCa": {
|
|
|
|
"filename": "cert.pem"
|
|
|
|
}
|
2022-07-28 19:17:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sni": "api.test.com"
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
},
|
|
|
|
"type": "LOGICAL_DNS"
|
2022-07-28 19:17:35 +00:00
|
|
|
},
|
2022-07-18 21:10:06 +00:00
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2022-07-14 18:45:51 +00:00
|
|
|
"connectTimeout": "5s",
|
2023-09-11 16:40:19 +00:00
|
|
|
"dnsLookupFamily": "V4_ONLY",
|
|
|
|
"dnsRefreshRate": "10s",
|
2022-07-14 18:45:51 +00:00
|
|
|
"loadAssignment": {
|
2022-07-18 21:10:06 +00:00
|
|
|
"clusterName": "destination.httpbin-org.external-hostname-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2022-07-14 18:45:51 +00:00
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "httpbin.org",
|
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.httpbin-org.external-hostname-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "LOGICAL_DNS"
|
2022-07-14 18:45:51 +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-14 18:45:51 +00:00
|
|
|
"loadAssignment": {
|
2022-07-18 21:10:06 +00:00
|
|
|
"clusterName": "destination.web-hashicorp-com.external-hostname-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2022-07-14 18:45:51 +00:00
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
2022-07-18 21:10:06 +00:00
|
|
|
"address": "web.hashicorp.com",
|
2022-07-14 18:45:51 +00:00
|
|
|
"portValue": 8089
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "destination.web-hashicorp-com.external-hostname-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"outlierDetection": {},
|
|
|
|
"type": "LOGICAL_DNS"
|
2022-05-24 16:51:52 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2023-09-11 16:40:19 +00:00
|
|
|
"versionInfo": "00000001"
|
2022-05-24 16:51:52 +00:00
|
|
|
}
|