aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/databases/mongodb/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/namespaces/databases/mongodb/README.md')
-rw-r--r--kubernetes/namespaces/databases/mongodb/README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/kubernetes/namespaces/databases/mongodb/README.md b/kubernetes/namespaces/databases/mongodb/README.md
new file mode 100644
index 0000000..be07497
--- /dev/null
+++ b/kubernetes/namespaces/databases/mongodb/README.md
@@ -0,0 +1,22 @@
+# Python Discord MongoDB
+This folder contains the configuration for Python Discord's MongoDB instance.
+
+## Volume
+A 10Gi volume is provisioned on the Linode Block Storage (Retain) storage class.
+
+## Secrets
+| Key | Value | Description |
+| ---------------------------- | -------------------------- | ------------------------------- |
+| `MONGO_INITDB_ROOT_USERNAME` | `pythondiscord` | Username of root user |
+| `MONGO_INITDB_ROOT_PASSWORD` | Root password for database | Password for the root user |
+
+
+## Deployment
+The deployment will pull the `mongo:latest` image from DockerHub.
+
+It will mount the created volume at `/data/db`.
+
+It will expose port `27017` to connect to MongoDB.
+
+## Service
+A service called `mongodb` will be created to give the deployment a cluster local DNS record of `mongodb.databases.svc.cluster.local`.