From 697489632087dec8bd2301492fc9dc432b86220f Mon Sep 17 00:00:00 2001 From: Julien Barbot Date: Tue, 23 Oct 2018 09:54:45 +0200 Subject: Add systctl vm.max_map_count for elasticsearch Change-Id: Ifd82ece02036ffc305bdf85e7fd3025e28424045 Issue-ID: OOM-510 Signed-off-by: Julien Barbot --- charts/aai-elasticsearch/templates/deployment.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'charts/aai-elasticsearch/templates') 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 -- cgit 1.2.3-korg