commit | 5a5321fb9ac4da837b27c558b56786e57ecc1396 | [log] [tgz] |
---|---|---|
author | Julien Barbot <julien@barbot.org> | Tue Oct 23 09:54:45 2018 +0200 |
committer | Julien Barbot <julien@barbot.org> | Tue Oct 23 09:56:13 2018 +0200 |
tree | 9e90f0c6eac3c14f9743a7c15b36f7b98a950492 | |
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>
diff --git a/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml b/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml index 24cdb92..586d64f 100644 --- a/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml +++ b/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml
@@ -39,6 +39,7 @@ - /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