Use this command to create a custom configuration template for a pool of load balancers.
The rendered haproxy.cfg
for a pool is generated using a template named haproxy.cfg.ctmpl
. Advanced users can modify and upload a custom version of this template.
Usage
dcos edgelb template create <pool-name> <template-file> [options]
Options
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. |
Examples
For an example that illustrates creating a customized template, see Customizing Edge-LB templates.