try async-connect for container logging to fluentd
This commit is contained in:
@@ -45,4 +45,5 @@ services:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: dkregistry
|
||||
|
||||
@@ -31,4 +31,5 @@ services:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: gitea
|
||||
|
||||
@@ -47,4 +47,5 @@ services:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: letsencrypt-update
|
||||
|
||||
@@ -33,6 +33,7 @@ services:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: nextcloud
|
||||
|
||||
collabora:
|
||||
|
||||
@@ -20,6 +20,7 @@ services:
|
||||
- /opt/shared/logs:/fluentd/log
|
||||
ports:
|
||||
- "24224:24224"
|
||||
- "24224:24224/udp"
|
||||
|
||||
|
||||
deploy:
|
||||
|
||||
@@ -24,6 +24,7 @@ services:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: sslproxy
|
||||
|
||||
# logging:
|
||||
|
||||
@@ -35,4 +35,5 @@ services:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: dkui
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
- user-richard
|
||||
- rsyslog
|
||||
- motd
|
||||
- vbox-guest
|
||||
- { role: Datadog.datadog, when: ansible_architecture != 'armv7l' } #does not support armhf architecture. should switch to fluentd or logstash
|
||||
- { role: ddagent_source, when: ansible_architecture == 'armv7l' }
|
||||
|
||||
|
||||
11
roles/vbox-guest/tasks/main.yml
Normal file
11
roles/vbox-guest/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
# install virtual box guest additions on ubuntu16.04
|
||||
|
||||
- name: install system packages
|
||||
apt:
|
||||
state: present
|
||||
name: "{{item}}"
|
||||
update_cache: yes
|
||||
with_items:
|
||||
- virtualbox-guest-dkms
|
||||
when: ansible_virtualization_role == "guest"
|
||||
@@ -10,3 +10,5 @@
|
||||
tasks:
|
||||
- name: test connection
|
||||
ping:
|
||||
|
||||
- debug: var=ansible_virtualization_role
|
||||
|
||||
Reference in New Issue
Block a user