summaryrefslogtreecommitdiffstats
path: root/charts
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
commit697489632087dec8bd2301492fc9dc432b86220f (patch)
tree444b8b5e8b8bbfd6a7c9c11765d22b1789d379df /charts
parent9d8eefc9149373cce5efb40901a23fa84533f3b7 (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 'charts')
-rw-r--r--charts/aai-elasticsearch/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/charts/aai-elasticsearch/templates/deployment.yaml b/charts/aai-elasticsearch/templates/deployment.yaml
index 24cdb92..586d64f 100644
--- a/charts/aai-elasticsearch/templates/deployment.yaml
+++ b/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