Updated ssh check in haproxy for gitea
This commit is contained in:
@@ -50,8 +50,9 @@ listen kubernetes
|
|||||||
|
|
||||||
listen gitea
|
listen gitea
|
||||||
bind *:2222
|
bind *:2222
|
||||||
|
tcp-check expect string SSH-2.0-
|
||||||
mode tcp
|
mode tcp
|
||||||
balance roundrobin
|
balance roundrobin
|
||||||
{% for node in groups['kube-workers'] %}
|
{% 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 %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user