mirror of https://github.com/status-im/consul.git
73 lines
1.9 KiB
Plaintext
73 lines
1.9 KiB
Plaintext
|
{
|
||
|
"versionInfo": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment",
|
||
|
"clusterName": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "10.10.1.1",
|
||
|
"portValue": 8080
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"healthStatus": "HEALTHY",
|
||
|
"loadBalancingWeight": 1
|
||
|
},
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "10.10.1.2",
|
||
|
"portValue": 8080
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"healthStatus": "HEALTHY",
|
||
|
"loadBalancingWeight": 1
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "10.20.1.1",
|
||
|
"portValue": 8080
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"healthStatus": "HEALTHY",
|
||
|
"loadBalancingWeight": 1
|
||
|
},
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "10.20.1.2",
|
||
|
"portValue": 8080
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"healthStatus": "HEALTHY",
|
||
|
"loadBalancingWeight": 1
|
||
|
}
|
||
|
],
|
||
|
"priority": 1
|
||
|
}
|
||
|
],
|
||
|
"policy": {
|
||
|
"overprovisioningFactor": 160
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"typeUrl": "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment",
|
||
|
"nonce": "00000001"
|
||
|
}
|