Merge "Fix genconfig for kolla-kubernetes"
This commit is contained in:
commit
31a96e4f59
@ -1,7 +1,11 @@
|
||||
<source>
|
||||
@type syslog
|
||||
port {{ fluentd_syslog_port }}
|
||||
{% if orchestration_engine != 'KUBERNETES' %}
|
||||
bind {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
||||
{% else %}
|
||||
bind 0.0.0.0
|
||||
{% endif %}
|
||||
tag syslog
|
||||
format /^(?<Payload>.*)$/
|
||||
</source>
|
||||
|
@ -4,7 +4,9 @@ global
|
||||
user haproxy
|
||||
group haproxy
|
||||
daemon
|
||||
{% if orchestration_engine != 'KUBERNETES' %}
|
||||
log {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ fluentd_syslog_port }} local1
|
||||
{% endif %}
|
||||
maxconn 4000
|
||||
stats socket /var/lib/kolla/haproxy/haproxy.sock
|
||||
{% if kolla_enable_tls_external | bool %}
|
||||
|
Loading…
Reference in New Issue
Block a user