Better tuning for haproxy config
Now uses /status as it should have initially, sets to host with least connections which is good behavior for http usage
This commit is contained in:
parent
657c7437de
commit
d2b8efed74
|
@ -3,7 +3,8 @@
|
|||
haproxy_backend_nodes: "{{ groups['gnocchi_all'] | default([]) }}"
|
||||
haproxy_port: 8041
|
||||
haproxy_balance_type: http
|
||||
haproxy_balance_alg: leastconn
|
||||
haproxy_backend_options:
|
||||
- "forwardfor"
|
||||
- "httpchk /versions"
|
||||
- "httpchk /status"
|
||||
- "httplog"
|
||||
|
|
|
@ -13,7 +13,6 @@ oslo_config_project = gnocchi
|
|||
|
||||
[filter:healthcheck]
|
||||
paste.filter_factory = oslo_middleware:Healthcheck.factory
|
||||
path = /versions
|
||||
backends = disable_by_file
|
||||
disable_by_file_path = {{ gnocchi_healthcheck_disable_path }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue