[CASSANDRA] Add Reaper and Stargate label checked by SDC/AAI
[oom.git] / kubernetes / common / cassandra / values.yaml
index 13137a1..eef716e 100644 (file)
@@ -21,12 +21,17 @@ global: # global defaults
     mountPath: /dockerdata-nfs
     backup:
       mountPath: /dockerdata-nfs/backup
+  cassandra:
+    # flag to enable the DB creation via k8ssandra-operator
+    useOperator: true
+    # if useOperator set to "true", set "enableServiceAccount to "false"
+    # as the SA is created by the Operator
+    enableServiceAccount: false
 
 k8ssandraOperator:
-  enabled: false
   cassandraVersion: 4.0.1
   persistence:
-    storageClassName: default
+    #storageClassName: default
     size: 10Gi
   config:
     clusterName: cassandra
@@ -36,7 +41,8 @@ k8ssandraOperator:
     casOptions:
       authorizer: AllowAllAuthorizer
     jvmOptions:
-      heapSize: 512M
+      heap_initial_size: 512M
+      heap_max_size: 4096M
     hostNetwork: false
   datacenters:
     - name: dc1
@@ -151,6 +157,9 @@ podAnnotations:
   traffic.sidecar.istio.io/excludeInboundPorts: "7000,7001"
   traffic.sidecar.istio.io/includeInboundPorts: '*'
   traffic.sidecar.istio.io/excludeOutboundPorts: "7000,7001"
+  prometheus.io/scrape: 'true'
+  prometheus.io/port: '8080'
+
 podManagementPolicy: OrderedReady
 updateStrategy:
   type: RollingUpdate