summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-06-07 08:38:50 +0000
committerAndreas Geissler <andreas-geissler@telekom.de>2022-08-18 07:02:30 +0000
commit9a3395bd906fcdbcd619f82535d0ce7e913ee3c4 (patch)
tree5e5d4dae124b51d1508c3660b9c43df1f0faa219 /kubernetes/common
parent69bf7e4cac66278f9b1303e7df6e18f73c9a8d78 (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 (cherry picked from commit 56b8db227af43c0698eb877dc723f93ad5a0d812)
Diffstat (limited to 'kubernetes/common')
-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 7d017f266b..43ff171abb 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
@@ -152,8 +152,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