summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_fluentd
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2017-05-24 09:50:07 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2017-06-02 10:55:29 -0700
commit49d8b7e373f00dfcce2940cdd22d4d60471f84c4 (patch)
tree96f959198339d5d500ce37a521387901f14747dc /roles/openshift_logging_fluentd
parent47a269e171e81fc5e9e0c9960a6306e47b253c54 (diff)
downloadopenshift-49d8b7e373f00dfcce2940cdd22d4d60471f84c4.tar.gz
openshift-49d8b7e373f00dfcce2940cdd22d4d60471f84c4.tar.bz2
openshift-49d8b7e373f00dfcce2940cdd22d4d60471f84c4.tar.xz
openshift-49d8b7e373f00dfcce2940cdd22d4d60471f84c4.zip
Introducing fluentd/mux buffer_queue_limit, buffer_size_limit, cpu_limit, and memory_limit.
Default values: openshift_logging_fluentd_cpu_limit: 100m openshift_logging_fluentd_memory_limit: 512Mi openshift_logging_fluentd_buffer_queue_limit: 1024 openshift_logging_fluentd_buffer_size_limit: 16m openshift_logging_fluentd_buffer_size_limit: 1m openshift_logging_mux_cpu_limit: 500m openshift_logging_mux_memory_limit: 1Gi openshift_logging_mux_buffer_queue_limit: 1024 openshift_logging_mux_buffer_size_limit: 1m
Diffstat (limited to 'roles/openshift_logging_fluentd')
-rw-r--r--roles/openshift_logging_fluentd/templates/fluentd.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_logging_fluentd/templates/fluentd.j2 b/roles/openshift_logging_fluentd/templates/fluentd.j2
index e185938e3..bfaef938f 100644
--- a/roles/openshift_logging_fluentd/templates/fluentd.j2
+++ b/roles/openshift_logging_fluentd/templates/fluentd.j2
@@ -93,6 +93,10 @@ spec:
value: "{{ openshift_logging_fluentd_journal_source | default('') }}"
- name: "JOURNAL_READ_FROM_HEAD"
value: "{{ openshift_logging_fluentd_journal_read_from_head | lower }}"
+ - name: "BUFFER_QUEUE_LIMIT"
+ value: "{{ openshift_logging_fluentd_buffer_queue_limit }}"
+ - name: "BUFFER_SIZE_LIMIT"
+ value: "{{ openshift_logging_fluentd_buffer_size_limit }}"
volumes:
- name: runlogjournal
hostPath: