Merge "[DCAEGEN2] Update cm-container and consul-loader"
[oom.git] / kubernetes / portal / components / portal-cassandra / values.yaml
index ec76d08..c185155 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright (c) 2017 Amdocs, Bell Canada
 # Modifications Copyright (c) 2018 AT&T
-# Modifications Copyright (c) 2020 Nokia
+# Modifications Copyright (c) 2020 Nokia, Orange
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -112,12 +112,20 @@ flavor: small
 # Segregation for Different environment (Small and Large)
 resources:
   small:
+    # Heap size is tightly correlated to RAM limits.
+    # If limit > 8G, Cassandra should define itself the best value.
+    # If not, you must set up it in a coherent way with limits set
+    # Refer to https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/operations/opsTuneJVM.html#Determiningtheheapsize
+    # for more informations.
+    heap:
+      max: 3G
+      new: 100M
     limits:
       cpu: 500m
       memory: 3.75Gi
     requests:
       cpu: 160m
-      memory: 2.8Gi
+      memory: 3.1Gi
   large:
     limits:
       cpu: 4