[AAI] Add variables for HEAP and METASPACE sizes
Add environment variables for aai-resources and aai-traversal
pods to set the HEAP and METASPACE sizes
Issue-ID: OOM-3248
Change-Id: Ifd28915564bb9309f679c5c7a2e56149aee27a57
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
diff --git a/kubernetes/aai/components/aai-resources/values.yaml b/kubernetes/aai/components/aai-resources/values.yaml
index e5cc716..7615f4b 100644
--- a/kubernetes/aai/components/aai-resources/values.yaml
+++ b/kubernetes/aai/components/aai-resources/values.yaml
@@ -175,6 +175,12 @@
# Specifies if the bulk can be override and if it can the value
override: false
+ # environment variables added to the launch of the image in deployment
+ env:
+ MIN_HEAP_SIZE: "512m"
+ MAX_HEAP_SIZE: "1024m"
+ MAX_METASPACE_SIZE: "512m"
+
nodeSelector: {}
affinity: {}