aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-06-07 08:38:50 +0000
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2022-06-08 06:38:02 +0000
commit56b8db227af43c0698eb877dc723f93ad5a0d812 (patch)
treeb7f719b53dc96bb02355c8921dfbbaf9420b4763
parenta131d74a86f968480a210a32bd4a848975311d55 (diff)
[CASSANDRA] Change values to makre Cassandra instances more stable
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
-rw-r--r--kubernetes/common/cassandra/values.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/common/cassandra/values.yaml b/kubernetes/common/cassandra/values.yaml
index 597174ee0a..4665dc709a 100644
--- a/kubernetes/common/cassandra/values.yaml
+++ b/kubernetes/common/cassandra/values.yaml
@@ -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