Merge pull request #12246 from fosterseth/fix_haproxy_startup_error

use haproxy 2.3 with maxconn set to avoid startup failures
This commit is contained in:
Seth Foster
2022-06-14 14:41:14 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ services:
{% endfor %} {% endfor %}
{% if control_plane_node_count|int > 1 %} {% if control_plane_node_count|int > 1 %}
haproxy: haproxy:
image: haproxy image: haproxy:2.3
user: "{{ ansible_user_uid }}" user: "{{ ansible_user_uid }}"
volumes: volumes:
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z" - "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z"

View File

@@ -1,6 +1,7 @@
global global
stats socket /tmp/admin.sock stats socket /tmp/admin.sock
stats timeout 30s stats timeout 30s
maxconn 1000
defaults defaults
log global log global