Merge "[haproxy] Enable global optimization options"
This commit is contained in:
commit
cbb7cce7c1
@ -50,3 +50,8 @@ keepalived_traffic_mode: "multicast"
|
||||
|
||||
haproxy_listen_tcp_extra: []
|
||||
haproxy_listen_http_extra: []
|
||||
|
||||
# Extended global configuration, optimization options.
|
||||
haproxy_max_connections: 4000
|
||||
haproxy_processes: 1
|
||||
haproxy_process_cpu_map: "no"
|
||||
|
@ -6,7 +6,13 @@ global
|
||||
group haproxy
|
||||
daemon
|
||||
log {{ syslog_server }}:{{ syslog_udp_port }} {{ syslog_haproxy_facility }}
|
||||
maxconn 4000
|
||||
maxconn {{ haproxy_max_connections }}
|
||||
nbproc {{ haproxy_processes }}
|
||||
{% if haproxy_processes > 1 and haproxy_process_cpu_map | bool %}
|
||||
{% for cpu_idx in range(0, haproxy_processes) %}
|
||||
cpu-map {{cpu_idx+1}} {{cpu_idx}}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
stats socket /var/lib/kolla/haproxy/haproxy.sock group kolla mode 660
|
||||
{% if kolla_enable_tls_external | bool %}
|
||||
ssl-default-bind-ciphers DEFAULT:!MEDIUM:!3DES
|
||||
|
Loading…
Reference in New Issue
Block a user