Skip to content

Commit

Permalink
Update documentation for new mongodb configuration
Browse files Browse the repository at this point in the history
Issue: ZENKO-4848
  • Loading branch information
KillianG committed Sep 19, 2024
1 parent 345cffc commit ee57e68
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/end2end/configs/zenkoversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ spec:
exporter:
image: '${REDIS_EXPORTER_IMAGE}'
tag: '${REDIS_EXPORTER_TAG}'
kubedb: '${REDIS_KUBEDB_TAG}'
defaults:
backbeatConcurrency:
lifecycleBucketProcessor: 30
Expand All @@ -144,4 +143,4 @@ spec:
cruiseControl:
limitMemory: 3Gi
featureFlags:
backbeatGCVaultAuthorized: true
backbeatGCVaultAuthorized: true
31 changes: 23 additions & 8 deletions docs/docsource/installation/install/install_xdm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,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 @@ -235,15 +250,15 @@ Deploy |product|
version: |version|
replicas: 1
mongodb:
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:
persistence:
volumeClaimTemplate:
size: 10Gi
storageClassName: sc-10-g
provider: Zenko
kafka:
provider: Managed
persistence:
Expand Down

0 comments on commit ee57e68

Please sign in to comment.