summaryrefslogtreecommitdiffstats
path: root/roles/fluentd_master/templates
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-05-29 14:35:48 -0700
committerJhon Honce <jhonce@redhat.com>2015-05-29 14:36:56 -0700
commit9873607d36f974114da1177451761ee053e38d71 (patch)
tree3561fdf0dabfc9a03063a3f38b862c71f47d4e2c /roles/fluentd_master/templates
parent3e533e199aa9262f5ca45f8311e82e975cde73b9 (diff)
downloadopenshift-9873607d36f974114da1177451761ee053e38d71.tar.gz
openshift-9873607d36f974114da1177451761ee053e38d71.tar.bz2
openshift-9873607d36f974114da1177451761ee053e38d71.tar.xz
openshift-9873607d36f974114da1177451761ee053e38d71.zip
Install fluentd on nodes and master
* Configure fluentd to aggragate container logs
Diffstat (limited to 'roles/fluentd_master/templates')
-rw-r--r--roles/fluentd_master/templates/kubernetes.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/fluentd_master/templates/kubernetes.conf.j2 b/roles/fluentd_master/templates/kubernetes.conf.j2
new file mode 100644
index 000000000..7b5c86062
--- /dev/null
+++ b/roles/fluentd_master/templates/kubernetes.conf.j2
@@ -0,0 +1,9 @@
+<match kubernetes.**>
+ type file
+ path /var/log/td-agent/containers.log
+ time_slice_format %Y%m%d
+ time_slice_wait 10m
+ time_format %Y%m%dT%H%M%S%z
+ compress gzip
+ utc
+</match>