The following documents a trial of using etcd, and confd to automatically configure a haproxy load balancer.
It is built using a combination of blogs, resources and experimentation, but provides a rough template of the approach
that would allow a fully featured balancer to be configured from etcd keyvalues.
- Include systemd sidekick unit to automatically register the key's into ETCD based on a docker service (for example) being started
- A more complete haproxy template that builds a valid, complex haproxy that would be capable of dealing with Future PLC's balancer requirements