blob: 796e59e89512ee8dd680a423fafd442352aa2176 (
plain)
1
2
3
4
5
6
7
8
9
10
|
listen proxy-tacker_api_cluster
bind {{ internal_vip.ip }}:8890
bind {{ public_vip.ip }}:8890
mode tcp
option tcp-check
option tcplog
balance source
{% for host,ip in haproxy_hosts.items() %}
server {{ host }} {{ ip }}:8890 weight 1 check inter 2000 rise 2 fall 5
{% endfor %}
|