summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common')
-rw-r--r--kubernetes/common/cassandra/values.yaml3
-rw-r--r--kubernetes/common/common/templates/_cassOp.tpl10
2 files changed, 12 insertions, 1 deletions
diff --git a/kubernetes/common/cassandra/values.yaml b/kubernetes/common/cassandra/values.yaml
index 930fe9b2d3..eef716eae6 100644
--- a/kubernetes/common/cassandra/values.yaml
+++ b/kubernetes/common/cassandra/values.yaml
@@ -41,7 +41,8 @@ k8ssandraOperator:
casOptions:
authorizer: AllowAllAuthorizer
jvmOptions:
- heapSize: 512M
+ heap_initial_size: 512M
+ heap_max_size: 4096M
hostNetwork: false
datacenters:
- name: dc1
diff --git a/kubernetes/common/common/templates/_cassOp.tpl b/kubernetes/common/common/templates/_cassOp.tpl
index d0f23877a4..3ea3ff17d0 100644
--- a/kubernetes/common/common/templates/_cassOp.tpl
+++ b/kubernetes/common/common/templates/_cassOp.tpl
@@ -24,16 +24,26 @@ metadata:
name: {{ .Values.k8ssandraOperator.config.clusterName }}
spec:
reaper:
+ initContainerImage:
+ registry: {{ include "repositoryGenerator.dockerHubRepository" . }}
containerImage:
registry: {{ include "repositoryGenerator.dockerHubRepository" . }}
autoScheduling:
enabled: true
+ metadata:
+ commonLabels:
+ app: {{ .Values.k8ssandraOperator.config.clusterName }}-reaper
+ version: {{ .Values.k8ssandraOperator.cassandraVersion }}
stargate:
containerImage:
registry: {{ include "repositoryGenerator.dockerHubRepository" . }}
tag: {{ .Values.k8ssandraOperator.stargate.tag }}
size: {{ .Values.k8ssandraOperator.stargate.size }}
heapSize: {{ .Values.k8ssandraOperator.stargate.jvmOptions.heapSize }}
+ metadata:
+ commonLabels:
+ app: {{ .Values.k8ssandraOperator.config.clusterName }}-stargate
+ version: {{ .Values.k8ssandraOperator.cassandraVersion }}
livenessProbe:
initialDelaySeconds: 200
periodSeconds: 10