Expose gitea with haproxy

This commit is contained in:
2019-04-16 07:45:19 -04:00
parent d85c7c1896
commit f9b52f076a

View File

@@ -47,3 +47,11 @@ listen kubernetes
{% for node in groups['kube-masters'] %}
server {{node}} {{ hostvars[node]['ansible_host'] }}:6443 check fall 3 inter 3s rise 2
{% endfor %}
listen gitea
bind *:2222
mode tcp
balance roundrobin
{% for node in groups['kube-workers'] %}
server {{node}} {{ hostvars[node]['ansible_host'] }}:2222 check fall 3 inter 3s rise 2
{% endfor %}