Skip to content

Commit

Permalink
Merge branches 'w/2.10/improvement/ZENKO-4848-remove-kubedb' and 'q/w…
Browse files Browse the repository at this point in the history
…/2141/2.9/improvement/ZENKO-4848-remove-kubedb' into tmp/octopus/q/2.10
  • Loading branch information
bert-e committed Oct 7, 2024
3 parents 85a3c36 + 6b16465 + 1f5c468 commit 435a13b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 363 deletions.
1 change: 0 additions & 1 deletion .github/scripts/end2end/configs/zenkoversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ spec:
exporter:
image: '${REDIS_EXPORTER_IMAGE}'
tag: '${REDIS_EXPORTER_TAG}'
kubedb: '${REDIS_KUBEDB_TAG}'
defaults:
backbeatConcurrency:
lifecycleBucketProcessor: 30
Expand Down
36 changes: 23 additions & 13 deletions docs/docsource/installation/install/install_xdm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ Deploy |product| Operator
.. parsed-literal::
/srv/scality/metalk8s-{{version-number}}/solutions.sh import --archive $ZENKO_BASE_ISO
sed "s/SOLUTION_ENV/zenko/g" /srv/scality/zenko-base-|version|/deploy/kubedb.yaml | kubectl apply -f -
kubectl -n zenko rollout status --timeout 10m deploy kubedb-operator
kubectl apply -f /srv/scality/zenko-base-|version|/deploy/kubedb-catalogs.yaml
sed "s/SOLUTION_ENV/zenko/g" /srv/scality/zenko-base-|version|/deploy/kafka.yaml | kubectl apply -f -
sed "s/SOLUTION_ENV/zenko/g" /srv/scality/zenko-base-|version|/deploy/zookeeper.yaml | kubectl apply -f -
Expand Down Expand Up @@ -225,6 +222,21 @@ Deploy |product|
#. Refer to *MetalK8s Operation* to create volumes for |product|.

#. Create a secret for MongoDB credentials:

.. parsed-literal::
cat <<EOF | kubectl apply -n zenko -f -
apiVersion: v1
kind: Secret
metadata:
name: mongodb-db-creds
type: Opaque
stringData:
mongodb-username: admin
mongodb-password: password
EOF
#. Create a resource for |product|:

.. parsed-literal::
Expand All @@ -238,17 +250,15 @@ Deploy |product|
version: |version|
replicas: 1
mongodb:
provider: KubeDB
persistence:
volumeClaimTemplate:
size: 300Gi
storageClassName: sc-300-g
databaseName: eb1e786d-da1e-3fc5-83d2-46f083ab9764
endpoints:
- data-db-mongodb-sharded-mongos-0.data-db-mongodb-sharded.zenko.svc:27017
passwordKey: mongodb-password
provider: External
userSecretName: mongodb-db-creds
usernameKey: mongodb-username
redis:
provider: KubeDB
persistence:
volumeClaimTemplate:
size: 10Gi
storageClassName: sc-10-g
provider: Zenko
kafka:
provider: Managed
persistence:
Expand Down
1 change: 0 additions & 1 deletion docs/docsource/installation/upgrade/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ Upgrade
:maxdepth: 2

upgrade_zenko
xdm_migrate_from_kubedb_to_bitnami
Loading

0 comments on commit 435a13b

Please sign in to comment.