Am 23.02.2018 09:57 schrieb Aleksandar Lazic:
Can I run something like this?
```
server-template units 1-40 "10.0.8.${num}":"1000${num}" maxconn 2 check
```

Because I haven't seen that the iterator is exported maybe it's not
possible.


As I see it from docs and the haproxy-blog*, there's no usable iterator like that.
The blog only leverages this via the stats-API.

*) https://www.haproxy.com/blog/dynamic-configuration-haproxy-runtime-api/
Scroll down to 'Dynamically Scaling Backend Servers'

Maybe something hiding behind unwritten docs? ;-)

HTH/ciao
--
pb

Reply via email to