[CASSANDRA] Change values to makre Cassandra instances more stable
[oom.git] / kubernetes / common / cassandra / values.yaml
index 597174e..43ff171 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
@@ -99,7 +99,11 @@ service:
   - name: tcp-agent
     port: 61621
 
-podAnnotations: {}
+podAnnotations:
+  #  sidecar.istio.io/inject: "false"
+  traffic.sidecar.istio.io/excludeInboundPorts: "7000,7001"
+  traffic.sidecar.istio.io/includeInboundPorts: '*'
+  traffic.sidecar.istio.io/excludeOutboundPorts: "7000,7001"
 podManagementPolicy: OrderedReady
 updateStrategy:
   type: RollingUpdate
@@ -148,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