aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-01-10 22:20:05 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-01-11 13:24:47 +0100
commit2c1ba293ccef7dcaf09c46f5b0a8a36245238389 (patch)
tree12c6ad43ce4c89c494ea5c4f198a2b9ddbdb8dd3 /kubernetes/sdnc
parentc8ef023537910038ef05ce84337a35e429bfc931 (diff)
[MARIADB][SO] Connect MariaDB Galera via master node
To avoid "lock" situations all clients of the mariadb-galera cluster should use the "primary" service, which connects to the master node. This service is provided by the mariadb-operator. Additionally for SO the bugfix for "local" DB configuration is fixed. Additionally missing readiness checks added to so-cnfm-lcm and so-etsi-nfvo-ns-lcm to wait for the DB job to complete Issue-ID: OOM-3261 Issue-ID: OOM-2697 Change-Id: I3d44f8b6d84d112c0271bfccebc4fa533c4e6aff Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/sdnc')
-rw-r--r--kubernetes/sdnc/components/dmaap-listener/values.yaml5
-rw-r--r--kubernetes/sdnc/components/sdnc-ansible-server/values.yaml5
-rw-r--r--kubernetes/sdnc/components/ueb-listener/values.yaml5
-rw-r--r--kubernetes/sdnc/values.yaml2
4 files changed, 17 insertions, 0 deletions
diff --git a/kubernetes/sdnc/components/dmaap-listener/values.yaml b/kubernetes/sdnc/components/dmaap-listener/values.yaml
index 33b56dcfc3..12bbdf0ab8 100644
--- a/kubernetes/sdnc/components/dmaap-listener/values.yaml
+++ b/kubernetes/sdnc/components/dmaap-listener/values.yaml
@@ -18,6 +18,8 @@
global:
nodePortPrefix: 302
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
#This flag allows SO to instantiate its own mariadb-galera cluster
#If shared instance is used, this chart assumes that DB already exists
localCluster: false
@@ -81,6 +83,9 @@ mariadb-galera:
persistence:
enabled: true
mountSubPath: dmaap-listener/maria/data
+ mariadbOperator:
+ galera:
+ enabled: false
# default number of instances
replicaCount: 1
diff --git a/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml b/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
index 52f23b07b6..e0e4c22a99 100644
--- a/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
+++ b/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
@@ -18,6 +18,8 @@
global:
nodePortPrefix: 302
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
#This flag allows SO to instantiate its own mariadb-galera cluster
#If shared instance is used, this chart assumes that DB already exists
localCluster: false
@@ -78,6 +80,9 @@ mariadb-galera:
persistence:
enabled: true
mountSubPath: ansible-server/maria/data
+ mariadbOperator:
+ galera:
+ enabled: false
# default number of instances
replicaCount: 1
diff --git a/kubernetes/sdnc/components/ueb-listener/values.yaml b/kubernetes/sdnc/components/ueb-listener/values.yaml
index d86b58c47c..399305f4d7 100644
--- a/kubernetes/sdnc/components/ueb-listener/values.yaml
+++ b/kubernetes/sdnc/components/ueb-listener/values.yaml
@@ -18,6 +18,8 @@
global:
nodePortPrefix: 302
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
#This flag allows SO to instantiate its own mariadb-galera cluster
#If shared instance is used, this chart assumes that DB already exists
localCluster: false
@@ -92,6 +94,9 @@ mariadb-galera:
persistence:
enabled: true
mountSubPath: ueb-listener/maria/data
+ mariadbOperator:
+ galera:
+ enabled: false
# default number of instances
replicaCount: 1
diff --git a/kubernetes/sdnc/values.yaml b/kubernetes/sdnc/values.yaml
index 658350d107..328b5adffb 100644
--- a/kubernetes/sdnc/values.yaml
+++ b/kubernetes/sdnc/values.yaml
@@ -24,6 +24,8 @@ global:
mountPath: /dockerdata-nfs
centralizedLoggingEnabled: true
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
#This flag allows SO to instantiate its own mariadb-galera cluster
#If shared instance is used, this chart assumes that DB already exists
localCluster: false