[CASSANDRA] Enable new cassandra version using operator 55/135355/2
authorAndreas Geissler <andreas-geissler@telekom.de>
Mon, 10 Jul 2023 12:31:00 +0000 (14:31 +0200)
committerAndreas Geissler <andreas-geissler@telekom.de>
Tue, 11 Jul 2023 14:27:40 +0000 (16:27 +0200)
Deployment of shared cassandra (4.0.1) using k8ssandra-operator
AAI config update to use new cassandra
SDC config update to use new cassandra
correct link in the oom_infra_optional_addons.rst

Issue-ID: OOM-3226

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: Ieeec9ad5c22a0674a477741d0515ae4515c6f3b8

docs/sections/guides/infra_guides/oom_infra_optional_addons.rst
kubernetes/aai/values.yaml
kubernetes/common/cassandra/values.yaml
kubernetes/sdc/components/sdc-cs/values.yaml
kubernetes/sdc/values.yaml

index 8b15f6c..ad1104e 100644 (file)
@@ -4,7 +4,7 @@
 .. Copyright (C) 2022 Nordix Foundation
 
 .. Links
-.. _Prometheus stack README: https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#readme
+.. _Prometheus stack README: https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/README.md
 .. _ONAP Next Generation Security & Logging Structure: https://wiki.onap.org/pages/viewpage.action?pageId=103417456
 .. _Istio setup guide: https://istio.io/latest/docs/setup/install/helm/
 .. _Kiali setup guide: https://kiali.io/docs/installation/installation-guide/example-install/
index c40dbe0..d822476 100644 (file)
@@ -43,11 +43,11 @@ global: # global defaults
     #Override it to aai-cassandra if localCluster is enabled.
     #in case of using k8ssandra-operator in the common cassandra installation
     #the service name is:
-    #serviceName: cassandra-dc1-service
+    serviceName: cassandra-dc1-service
     #in case of local k8ssandra-operator instance it is
     #serviceName: aai-cassandra-dc1-service
     #in case the older cassandra installation is used:
-    serviceName: cassandra
+    #serviceName: cassandra
 
     #This should be same as shared cassandra instance or if localCluster is enabled
     #then it should be same as aai-cassandra replicaCount
index 66e6d79..5bff17e 100644 (file)
@@ -23,7 +23,7 @@ global: # global defaults
       mountPath: /dockerdata-nfs/backup
 
 k8ssandraOperator:
-  enabled: false
+  enabled: true
   cassandraVersion: 4.0.1
   persistence:
     storageClassName: default
index 3f7a88f..e5d1c84 100644 (file)
@@ -28,20 +28,20 @@ global:
     #The cassandra service name to connect to (default: shared cassandra service)
     #in case of using k8ssandra-operator in the common cassandra installation
     #the service name is:
-    #serviceName: cassandra-dc1-service
+    serviceName: cassandra-dc1-service
     #in case of local k8ssandra-operator instance it is
     #serviceName: sdc-cs-dc1-service
     #in case the older cassandra installation is used:
-    serviceName: cassandra
+    #serviceName: cassandra
 
     #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
     #to match with its own cluster replica
     replicaCount: 3
     clusterName: cassandra
     #datacenter name (use "dc1" in case of k8ssandra-operator, otherwise "Pod")
-    dataCenter: Pod
+    dataCenter: dc1
     #cqlVersion for cassandra 3.11.* must be "3.4.4" and cassandra 4.* must be "3.4.5"
-    cqlVersion: "3.4.4"
+    cqlVersion: "3.4.5"
 
 #################################################################
 # Application configuration defaults.
index 955ac4b..80481d4 100644 (file)
@@ -32,9 +32,9 @@ global:
     #The cassandra service name to connect to (default: shared cassandra service)
     #in case of using k8ssandra-operator in the common cassandra installation
     #the service name is:
-    #serviceName: cassandra-dc1-service
+    serviceName: cassandra-dc1-service
     #in case the older cassandra installation is used:
-    serviceName: cassandra
+    #serviceName: cassandra
     #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
     #to match with its own cluster replica
     #see "cassandra: replicaCount" in file sdc-cs/values.yaml)
@@ -44,9 +44,9 @@ global:
     writeConsistencyLevel: ALL
     clusterName: cassandra
     #datacenter name (use "dc1" in case of k8ssandra-operator, otherwise "Pod")
-    dataCenter: Pod
+    dataCenter: dc1
     #cqlVersion for cassandra 3.11.* must be "3.4.4" and cassandra 4.* must be "3.4.5"
-    cqlVersion: "3.4.4"
+    cqlVersion: "3.4.5"
 
   centralizedLoggingEnabled: true
   # global Kafka config passed to sdc-be chart