diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2017-05-24 09:50:07 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2017-06-02 10:55:29 -0700 |
commit | 49d8b7e373f00dfcce2940cdd22d4d60471f84c4 (patch) | |
tree | 96f959198339d5d500ce37a521387901f14747dc /roles/openshift_logging_fluentd | |
parent | 47a269e171e81fc5e9e0c9960a6306e47b253c54 (diff) | |
download | openshift-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.j2 | 4 |
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: |