From 47eb4d2c38499bd60cdfb01010319ed5bf4ac45f Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Thu, 10 Dec 2020 12:15:27 +0100 Subject: [AAI] Make AAI helm3 compatible Helm3 doesn't like empty components with only license headers so we remove them as much as possible. Issue-ID: OOM-2562 Signed-off-by: Sylvain Desbureaux Change-Id: I26b790965d2926792f801b87294d15a074de7be6 --- .../aai/components/aai-elasticsearch/resources/config/jvm.options | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'kubernetes/aai/components/aai-elasticsearch/resources/config/jvm.options') diff --git a/kubernetes/aai/components/aai-elasticsearch/resources/config/jvm.options b/kubernetes/aai/components/aai-elasticsearch/resources/config/jvm.options index e69d7983c0..db4d2f0779 100644 --- a/kubernetes/aai/components/aai-elasticsearch/resources/config/jvm.options +++ b/kubernetes/aai/components/aai-elasticsearch/resources/config/jvm.options @@ -1,3 +1,4 @@ +{{/* # Copyright © 2018 Amdocs, AT&T, Bell Canada # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,10 +33,11 @@ # Xms represents the initial size of total heap space # Xmx represents the maximum size of total heap space - +*/}} -Xms1g -Xmx1g +{{/* ################################################################ ## Expert settings ################################################################ @@ -47,6 +49,7 @@ ################################################################ ## GC configuration +*/}} -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly @@ -92,6 +95,7 @@ # heap dumps are created in the working directory of the JVM -XX:+HeapDumpOnOutOfMemoryError +{{/* # specify an alternative path for heap dumps # ensure the directory exists and has sufficient space #-XX:HeapDumpPath=/heap/dump/path @@ -115,3 +119,4 @@ #-XX:+UseGCLogFileRotation #-XX:NumberOfGCLogFiles=32 #-XX:GCLogFileSize=128M +*/}} \ No newline at end of file -- cgit 1.2.3-korg