Skip to content
Snippets Groups Projects
Commit 31a96e4f authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix genconfig for kolla-kubernetes"

parents 04440b19 cac3ed85
No related branches found
No related tags found
No related merge requests found
<source> <source>
@type syslog @type syslog
port {{ fluentd_syslog_port }} port {{ fluentd_syslog_port }}
{% if orchestration_engine != 'KUBERNETES' %}
bind {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} bind {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
{% else %}
bind 0.0.0.0
{% endif %}
tag syslog tag syslog
format /^(?<Payload>.*)$/ format /^(?<Payload>.*)$/
</source> </source>
...@@ -4,7 +4,9 @@ global ...@@ -4,7 +4,9 @@ global
user haproxy user haproxy
group haproxy group haproxy
daemon daemon
{% if orchestration_engine != 'KUBERNETES' %}
log {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ fluentd_syslog_port }} local1 log {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ fluentd_syslog_port }} local1
{% endif %}
maxconn 4000 maxconn 4000
stats socket /var/lib/kolla/haproxy/haproxy.sock stats socket /var/lib/kolla/haproxy/haproxy.sock
{% if kolla_enable_tls_external | bool %} {% if kolla_enable_tls_external | bool %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment