summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_fluentd
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2017-06-02 17:06:30 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2017-06-02 17:06:30 -0700
commit33f3a95da29ba2441911e761fbf8a5a2a553b9b9 (patch)
treed6839441c6895ab93ba8ef3ecf56e20331074803 /roles/openshift_logging_fluentd
parent49d8b7e373f00dfcce2940cdd22d4d60471f84c4 (diff)
downloadopenshift-33f3a95da29ba2441911e761fbf8a5a2a553b9b9.tar.gz
openshift-33f3a95da29ba2441911e761fbf8a5a2a553b9b9.tar.bz2
openshift-33f3a95da29ba2441911e761fbf8a5a2a553b9b9.tar.xz
openshift-33f3a95da29ba2441911e761fbf8a5a2a553b9b9.zip
Adding environment variables FLUENTD_CPU_LIMIT, FLUENTD_MEMORY_LIMIT, MUX_CPU_LIMIT, MUX_MEMORY_LIMIT.
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 bfaef938f..a5695ee26 100644
--- a/roles/openshift_logging_fluentd/templates/fluentd.j2
+++ b/roles/openshift_logging_fluentd/templates/fluentd.j2
@@ -97,6 +97,10 @@ spec:
value: "{{ openshift_logging_fluentd_buffer_queue_limit }}"
- name: "BUFFER_SIZE_LIMIT"
value: "{{ openshift_logging_fluentd_buffer_size_limit }}"
+ - name: "FLUENTD_CPU_LIMIT"
+ value: "{{ openshift_logging_fluentd_cpu_limit }}"
+ - name: "FLUENTD_MEMORY_LIMIT"
+ value: "{{ openshift_logging_fluentd_memory_limit }}"
volumes:
- name: runlogjournal
hostPath: