[CASSANDRA] Change values to makre Cassandra instances more stable 06/129506/2
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 7 Jun 2022 08:38:50 +0000 (08:38 +0000)
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Wed, 8 Jun 2022 06:38:02 +0000 (06:38 +0000)
Based on Cassandra documentation enlarge limits of Cassandra pods
and the heap size

Issue-ID: AAI-3492
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I43e6eeb043b75e5bf5333a3fbdb66f832f01c867

kubernetes/common/cassandra/values.yaml

index 597174e..4665dc7 100644 (file)
@@ -33,8 +33,8 @@ debugEnabled: false
 config:
   cluster_domain: cluster.local
   heap:
-    max: 2048M
-    min: 100M
+    max: 4096M
+    min: 200M
   jvmOpts: -Dcassandra.consistent.rangemovement=false
   clusterName: cassandra
   dataCenter: Pod
@@ -148,8 +148,8 @@ configOverrides: {}
   # Minimum memory for production is 4 CPU cores and 8GB memory
 resources:
   limits:
-    cpu: 0.8
-    memory: 4Gi
+    cpu: 2
+    memory: 8Gi
   requests:
     cpu: 0.2
     memory: 2.5Gi