[AAI] Add variables for HEAP and METASPACE sizes
[oom.git] / kubernetes / aai / components / aai-resources / values.yaml
index 6efb129..7615f4b 100644 (file)
@@ -175,6 +175,12 @@ config:
     # 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: {}
@@ -231,14 +237,14 @@ serviceMesh:
 resources:
   small:
     limits:
-      cpu: 999
+      cpu: 2
       memory: 4Gi
     requests:
       cpu: 1
       memory: 3Gi
   large:
     limits:
-      cpu: 999
+      cpu: 4
       memory: 8Gi
     requests:
       cpu: 2