aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai
diff options
context:
space:
mode:
authorJulien Barbot <julien@barbot.org>2018-10-23 09:54:45 +0200
committerJulien Barbot <julien@barbot.org>2018-10-23 09:56:13 +0200
commit5a5321fb9ac4da837b27c558b56786e57ecc1396 (patch)
tree9e90f0c6eac3c14f9743a7c15b36f7b98a950492 /kubernetes/aai
parentd1445248920f77b018642f64f4864a0d7424f74a (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')
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml1
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