summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_curator/templates/curator.j2
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-08-17 12:18:57 -0400
committerRich Megginson <rmeggins@redhat.com>2017-08-30 16:48:35 -0600
commitf0a12fafd1320cd717eea896bb27cf222df6e9c3 (patch)
tree70ac271c0b7b8cd57b4fb4146abd82eeccd9b54f /roles/openshift_logging_curator/templates/curator.j2
parent67c3548382c197d3ad952fa337eeb9fdb141af6a (diff)
downloadopenshift-f0a12fafd1320cd717eea896bb27cf222df6e9c3.tar.gz
openshift-f0a12fafd1320cd717eea896bb27cf222df6e9c3.tar.bz2
openshift-f0a12fafd1320cd717eea896bb27cf222df6e9c3.tar.xz
openshift-f0a12fafd1320cd717eea896bb27cf222df6e9c3.zip
logging set memory request to limit
Diffstat (limited to 'roles/openshift_logging_curator/templates/curator.j2')
-rw-r--r--roles/openshift_logging_curator/templates/curator.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_logging_curator/templates/curator.j2 b/roles/openshift_logging_curator/templates/curator.j2
index 6431f86d9..e74918a40 100644
--- a/roles/openshift_logging_curator/templates/curator.j2
+++ b/roles/openshift_logging_curator/templates/curator.j2
@@ -44,6 +44,8 @@ spec:
cpu: "{{curator_cpu_limit}}"
{% if curator_memory_limit is defined and curator_memory_limit is not none and curator_memory_limit != "" %}
memory: "{{curator_memory_limit}}"
+ requests:
+ memory: "{{curator_memory_limit}}"
{% endif %}
env:
-