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