diff options
author | 2018-10-23 09:54:45 +0200 | |
---|---|---|
committer | 2018-10-23 09:56:13 +0200 | |
commit | 5a5321fb9ac4da837b27c558b56786e57ecc1396 (patch) | |
tree | 9e90f0c6eac3c14f9743a7c15b36f7b98a950492 /kubernetes/aai/charts/aai-elasticsearch | |
parent | d1445248920f77b018642f64f4864a0d7424f74a (diff) |
Add systctl vm.max_map_count for elasticsearch
Change-Id: Ifd82ece02036ffc305bdf85e7fd3025e28424045
Issue-ID: OOM-510
Signed-off-by: Julien Barbot <julien@barbot.org>
Diffstat (limited to 'kubernetes/aai/charts/aai-elasticsearch')
-rw-r--r-- | kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml b/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml index 24cdb921b2..586d64f9ab 100644 --- a/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml +++ b/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml @@ -39,6 +39,7 @@ spec: - /bin/sh - -c - | + sysctl -w vm.max_map_count=262144 mkdir -p /logroot/elasticsearch/logs mkdir -p /logroot/elasticsearch/data chmod -R 777 /logroot/elasticsearch |