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