Merge "Adds parameter to configure HAProxy defaults balance"

This commit is contained in:
Zuul 2018-05-31 11:49:58 +00:00 committed by Gerrit Code Review
commit 1b55a093dc
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,9 @@ haproxy_image_full: "{{ haproxy_image }}:{{ haproxy_tag }}"
haproxy_client_timeout: "1m"
haproxy_server_timeout: "1m"
# Check http://www.haproxy.org/download/1.5/doc/configuration.txt for available options
haproxy_defaults_balance: "roundrobin"
haproxy_glance_api_client_timeout: "6h"
haproxy_glance_api_server_timeout: "6h"

View File

@ -33,6 +33,7 @@ defaults
timeout client {{ haproxy_client_timeout }}
timeout server {{ haproxy_server_timeout }}
timeout check 10s
balance {{ haproxy_defaults_balance }}
listen stats
bind {{ api_interface_address }}:{{ haproxy_stats_port }}