Skip to content

Commit

Permalink
written haproxy config to be compatible with haproxy 1.8 (centos 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
gprossliner committed Jul 6, 2020
1 parent 9d9b62b commit 182b76b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion k8ssetup/lib/ansible/roles/lnxclp-vip/templates/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ defaults
timeout check 10s
maxconn 3000

listen apiserver {{k8s_apiserver_vip}}:{{k8s_apiserver_port}}
listen apiserver
bind {{k8s_apiserver_vip}}:{{k8s_apiserver_port}}
mode tcp
balance roundrobin

Expand Down

0 comments on commit 182b76b

Please sign in to comment.