Updated ssh check in haproxy for gitea

This commit is contained in:
2019-04-26 09:26:47 -04:00
parent 19b9a2458e
commit 968c44964b

View File

@@ -50,8 +50,9 @@ listen kubernetes
listen gitea
bind *:2222
tcp-check expect string SSH-2.0-
mode tcp
balance roundrobin
{% for node in groups['kube-workers'] %}
server {{node}} {{ hostvars[node]['ansible_host'] }}:2222 check fall 3 inter 3s rise 2
server {{node}} {{ hostvars[node]['ansible_host'] }}:2222 check
{% endfor %}