summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_kibana
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-08-17 12:18:57 -0400
committerJeff Cantrill <jcantril@redhat.com>2017-08-23 14:07:12 -0400
commitf03e4edbb449848e9519c57be463c220f9870799 (patch)
tree993b6b09569a6d1f423427f4e2a7c2867fd04c2a /roles/openshift_logging_kibana
parent1827ab832d47abcedeceafb9098fbcfaa19b4bd5 (diff)
downloadopenshift-f03e4edbb449848e9519c57be463c220f9870799.tar.gz
openshift-f03e4edbb449848e9519c57be463c220f9870799.tar.bz2
openshift-f03e4edbb449848e9519c57be463c220f9870799.tar.xz
openshift-f03e4edbb449848e9519c57be463c220f9870799.zip
logging set memory request to limit
Diffstat (limited to 'roles/openshift_logging_kibana')
-rw-r--r--roles/openshift_logging_kibana/templates/kibana.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_logging_kibana/templates/kibana.j2 b/roles/openshift_logging_kibana/templates/kibana.j2
index 512d99d06..da1386d3e 100644
--- a/roles/openshift_logging_kibana/templates/kibana.j2
+++ b/roles/openshift_logging_kibana/templates/kibana.j2
@@ -46,6 +46,8 @@ spec:
{% endif %}
{% if kibana_memory_limit is not none and kibana_memory_limit != "" %}
memory: "{{ kibana_memory_limit }}"
+ requests:
+ memory: "{{ kibana_memory_limit }}"
{% endif %}
{% endif %}
env:
@@ -82,6 +84,8 @@ spec:
{% endif %}
{% if kibana_proxy_memory_limit is not none and kibana_proxy_memory_limit != "" %}
memory: "{{ kibana_proxy_memory_limit }}"
+ requests:
+ memory: "{{ kibana_proxy_memory_limit }}"
{% endif %}
{% endif %}
ports: