summaryrefslogtreecommitdiffstats
path: root/roles/fluentd_master/templates
diff options
context:
space:
mode:
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>