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