summaryrefslogtreecommitdiffstats
path: root/roles
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
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')
-rw-r--r--roles/openshift_logging_fluentd/templates/fluentd.j24
-rw-r--r--roles/openshift_logging_mux/templates/mux.j24
2 files changed, 8 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:
diff --git a/roles/openshift_logging_mux/templates/mux.j2 b/roles/openshift_logging_mux/templates/mux.j2
index e51cfcbc6..a00f7c939 100644
--- a/roles/openshift_logging_mux/templates/mux.j2
+++ b/roles/openshift_logging_mux/templates/mux.j2
@@ -107,6 +107,10 @@ spec:
value: "{{ openshift_logging_mux_buffer_queue_limit }}"
- name: "BUFFER_SIZE_LIMIT"
value: "{{ openshift_logging_mux_buffer_size_limit }}"
+ - name: "MUX_CPU_LIMIT"
+ value: "{{ openshift_logging_mux_cpu_limit }}"
+ - name: "MUX_MEMORY_LIMIT"
+ value: "{{ openshift_logging_mux_memory_limit }}"
volumes:
- name: config
configMap: