aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc
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/vfc
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/vfc')
-rw-r--r--kubernetes/vfc/components/vfc-nslcm/values.yaml2
-rw-r--r--kubernetes/vfc/components/vfc-vnflcm/values.yaml2
-rw-r--r--kubernetes/vfc/components/vfc-vnfmgr/values.yaml2
-rw-r--r--kubernetes/vfc/components/vfc-vnfres/values.yaml2
-rw-r--r--kubernetes/vfc/values.yaml6
5 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/vfc/components/vfc-nslcm/values.yaml b/kubernetes/vfc/components/vfc-nslcm/values.yaml
index 0cd3ce178a..613c872242 100644
--- a/kubernetes/vfc/components/vfc-nslcm/values.yaml
+++ b/kubernetes/vfc/components/vfc-nslcm/values.yaml
@@ -20,6 +20,8 @@ global:
config:
ssl_enabled: false
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
localCluster: false
service: mariadb-galera
internalPort: 3306
diff --git a/kubernetes/vfc/components/vfc-vnflcm/values.yaml b/kubernetes/vfc/components/vfc-vnflcm/values.yaml
index fcad261817..e0f5b5ee9f 100644
--- a/kubernetes/vfc/components/vfc-vnflcm/values.yaml
+++ b/kubernetes/vfc/components/vfc-vnflcm/values.yaml
@@ -20,6 +20,8 @@ global:
config:
ssl_enabled: false
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
localCluster: false
service: mariadb-galera
internalPort: 3306
diff --git a/kubernetes/vfc/components/vfc-vnfmgr/values.yaml b/kubernetes/vfc/components/vfc-vnfmgr/values.yaml
index 528bbe0c01..696547a6e8 100644
--- a/kubernetes/vfc/components/vfc-vnfmgr/values.yaml
+++ b/kubernetes/vfc/components/vfc-vnfmgr/values.yaml
@@ -20,6 +20,8 @@ global:
config:
ssl_enabled: false
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
localCluster: false
service: mariadb-galera
internalPort: 3306
diff --git a/kubernetes/vfc/components/vfc-vnfres/values.yaml b/kubernetes/vfc/components/vfc-vnfres/values.yaml
index c2954d5517..452561041a 100644
--- a/kubernetes/vfc/components/vfc-vnfres/values.yaml
+++ b/kubernetes/vfc/components/vfc-vnfres/values.yaml
@@ -20,6 +20,8 @@ global:
config:
ssl_enabled: false
mariadbGalera:
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
localCluster: false
service: mariadb-galera
internalPort: 3306
diff --git a/kubernetes/vfc/values.yaml b/kubernetes/vfc/values.yaml
index 3a15165e2f..05b7eb1fa3 100644
--- a/kubernetes/vfc/values.yaml
+++ b/kubernetes/vfc/values.yaml
@@ -30,6 +30,8 @@ global:
persistence:
mountPath: /dockerdata-nfs
mariadbGalera: &mariadbGalera
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
#This flag allows VFC to instantiate its own mariadb-galera cluster
localCluster: false
service: mariadb-galera
@@ -59,6 +61,10 @@ mariadb-galera: &localMariadb
# password:
externalSecret: *dbRootPassSecret
nameOverride: &dbServer vfc-mariadb
+ service:
+ name: *dbServer
+ portName: *dbServer
+ internalPort: 3306
nfsprovisionerPrefix: vfc
persistence:
mountSubPath: vfc/data