Metadata
Edge-LB exposes certain information about its individual pool servers through the /service/edgelb/pools/v2/<pool-name>/metadata endpoint.
The following example illustrates pool metadata in JSON format:
{
"aws": {
"elbs": []
},
"frontends": [
{
"endpoints": [
{
"port": 1026,
"private": [
"10.0.6.38"
],
"public": [
"35.164.164.23"
]
},
{
"port": 1028,
"private": [
"10.0.6.38"
],
"public": [
"35.164.164.23"
]
}
],
"name": "web"
}
],
"name": "app-pool",
"stats": [
{
"port": 1025,
"private": [
"10.0.6.38"
],
"public": [
"35.164.164.23"
]
},
{
"port": 1027,
"private": [
"10.0.6.38"
],
"public": [
"35.164.164.23"
]
}
]
}
where
nameis a pool name.frontendsis an array of entries with information on how to reach load balancer instances for a given pool frontend:nameis a frontend name.endpointsis an array of entries consisting of IP addresses and port numbers:privateis an array of private IP addresses.publicis an array of public IP addresses.portis a port number a particular pool server listens on for incoming connections.
statsis an array of entries witn information on how to reach load balancerhaproxyAPI. The format is the same as the one offrontends.endpoints.
Alternatively, metadata can be retrieved using DC/OS™ CLI by running dcos edgelb endpoints <pool-name> --json.
For further details on what AWS® might look like, see Integrating with cloud providers.
Edge Lb Documentation