From 8aeb3f205882b2663aa98cee06661e67875ac8bd Mon Sep 17 00:00:00 2001 From: Ryan Bonham Date: Wed, 17 Apr 2019 09:59:13 -0500 Subject: [PATCH] Fixes: #121 --- daemonset/nonrbac/fluentd.yaml | 3 +++ daemonset/rbac/fluentd.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/daemonset/nonrbac/fluentd.yaml b/daemonset/nonrbac/fluentd.yaml index 04f5861..f4cc6cd 100644 --- a/daemonset/nonrbac/fluentd.yaml +++ b/daemonset/nonrbac/fluentd.yaml @@ -44,6 +44,9 @@ spec: secretKeyRef: name: sumologic key: collector-url + # Improve GC for memory limited envs like docker. + - name: RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR + value: "0.9" tolerations: - operator: "Exists" - effect: "NoSchedule" diff --git a/daemonset/rbac/fluentd.yaml b/daemonset/rbac/fluentd.yaml index 604e5dd..a8fe4d6 100644 --- a/daemonset/rbac/fluentd.yaml +++ b/daemonset/rbac/fluentd.yaml @@ -83,6 +83,9 @@ spec: secretKeyRef: name: sumologic key: collector-url + # Improve GC for memory limited envs like docker. + - name: RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR + value: "0.9" tolerations: #- operator: "Exists" - effect: "NoSchedule"