Updated ssh check in haproxy for gitea
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user