dcos edge-lb update

Reference for the dcos edge-lb update command

Use this command to upload a new pool configuration file to the Edge-LB apiserver, updating the running pool of load balancers.


dcos edgelb update [options] <pool-file>


Name, shorthand Description
--help, -h Display usage information.
--verbose, -v Enable additional logging of requests and responses.
--name="<name>" Specify the name of the service instance to query.
--json Show unparsed JSON response.


To update an existing pool, the Edge-LB service account or user account must have the following permissions for a specified pool:

dcos:adminrouter:service:edgelb:/v2/pools/<pool-name> full
dcos:service:marathon:marathon:services:/dcos-edgelb/pools/<pool-name> full

If you are working with the API specification for v1, the permissions required are:



To update the pool configuration settings for an existing Edge-LB pool, you would run a command similar to the following:

dcos edgelb update <pool-configuration-file>

For example, if you want to update a pool to use the mysampleconfig pool configuration file:

dcos edgelb update mysampleconfig