2022-05-24 16:51:52 +00:00
|
|
|
{
|
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2022-07-14 18:45:51 +00:00
|
|
|
"name": "destination~external-IP-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "STATIC",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "destination~external-IP-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"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
|
|
|
},
|
2022-07-14 18:45:51 +00:00
|
|
|
"outlierDetection": {
|
|
|
|
|
|
|
|
}
|
2022-05-24 16:51:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
2022-07-14 18:45:51 +00:00
|
|
|
"name": "destination~external-IP-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2022-05-24 16:51:52 +00:00
|
|
|
"type": "STATIC",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
2022-07-14 18:45:51 +00:00
|
|
|
"clusterName": "destination~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": {
|
|
|
|
"address": "192.168.0.1",
|
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"outlierDetection": {
|
|
|
|
|
2022-07-14 18:45:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"name": "destination~external-hostname-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "destination~external-hostname-HTTP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "httpbin.org",
|
|
|
|
"portValue": 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"outlierDetection": {
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"name": "destination~external-hostname-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"type": "LOGICAL_DNS",
|
|
|
|
"connectTimeout": "5s",
|
|
|
|
"loadAssignment": {
|
|
|
|
"clusterName": "destination~external-hostname-TCP.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"endpoints": [
|
|
|
|
{
|
|
|
|
"lbEndpoints": [
|
|
|
|
{
|
|
|
|
"endpoint": {
|
|
|
|
"address": {
|
|
|
|
"socketAddress": {
|
|
|
|
"address": "api.hashicorp.com",
|
|
|
|
"portValue": 8089
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dnsRefreshRate": "10s",
|
|
|
|
"outlierDetection": {
|
|
|
|
|
2022-05-24 16:51:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
|
|
|
"nonce": "00000001"
|
|
|
|
}
|