aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/values.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-04-09 13:58:38 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2024-04-09 17:11:06 +0200
commit1eeb37b34517aecb0fdcef2e486188768b5ee513 (patch)
tree57ed2741974e759d0fdf3273a64203c2cbb37cac /kubernetes/common/cassandra/values.yaml
parent5230ed9ba9769c93487ad66d0d1f68eec5134a90 (diff)
[CASSANDRA] Add some fixes for K8ssandra Operator
Some ports need to be excluded from cassandra to support JMX and Metrics interfaces. Also some memory settings need to be adjusted. Issue-ID: OOM-3275 Change-Id: I7530b69d65c7c612bcf54eba64d5a4dd5a20f753 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/common/cassandra/values.yaml')
-rw-r--r--kubernetes/common/cassandra/values.yaml11
1 files changed, 5 insertions, 6 deletions
diff --git a/kubernetes/common/cassandra/values.yaml b/kubernetes/common/cassandra/values.yaml
index 2fc368f04f..0ab1f0961c 100644
--- a/kubernetes/common/cassandra/values.yaml
+++ b/kubernetes/common/cassandra/values.yaml
@@ -40,11 +40,12 @@ k8ssandraOperator:
superuserPassword: &superuserpassword cassandra
casOptions:
authorizer: AllowAllAuthorizer
+ read_request_timeout: 10000ms
write_request_timeout: 10000ms
counter_write_request_timeout: 15000ms
jvmOptions:
heap_initial_size: 512M
- heap_max_size: 4096M
+ heap_max_size: 8192M
hostNetwork: false
datacenters:
- name: dc1
@@ -159,11 +160,9 @@ service:
podAnnotations:
# sidecar.istio.io/inject: "false"
- traffic.sidecar.istio.io/excludeInboundPorts: "7000,7001"
+ traffic.sidecar.istio.io/excludeInboundPorts: "7000,7001,7199,50051"
traffic.sidecar.istio.io/includeInboundPorts: '*'
- traffic.sidecar.istio.io/excludeOutboundPorts: "7000,7001"
- prometheus.io/scrape: 'true'
- prometheus.io/port: '8080'
+ traffic.sidecar.istio.io/excludeOutboundPorts: "7000,7001,7199,50051"
podManagementPolicy: OrderedReady
updateStrategy:
@@ -211,7 +210,7 @@ configOverrides: {}
resources:
limits:
cpu: "2"
- memory: "8Gi"
+ memory: "16Gi"
requests:
cpu: "0.2"
memory: "2.5Gi"