summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_kibana
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_kibana
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_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: