You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
New to KubeDB? Please start here.
Supported MongoDB Features
| Features | Availability |
|---|---|
| Clustering - Sharding | ✓ |
| Clustering - Replication | ✓ |
| Persistent Volume | ✓ |
| Instant Backup | ✓ |
| Scheduled Backup | ✓ |
| Initialize using Snapshot | ✓ |
| Initialize using Script (*.js and/or *.sh) | ✓ |
| Custom Configuration | ✓ |
| Using Custom docker image | ✓ |
| Builtin Prometheus Discovery | ✓ |
| Using CoreOS Prometheus Operator | ✓ |
Life Cycle of a MongoDB Object

Supported MongoDB Versions
| KubeDB Version | Mongo:3.4 | Mongo:3.6 | Mongo:4.0.5, 4.0 | Mongo:4.1.7 |
|---|---|---|---|---|
| 0.1.0 - 0.7.0 | ✗ | ✗ | ✗ | ✗ |
| 0.8.0 | ✓ | ✓ | ✗ | ✗ |
| 0.9.0 | ✓ | ✓ | ✗ | ✗ |
| 0.10.0 | ✓ | ✓ | ✓ | ✓ |
| 0.11.0 | ✓ | ✓ | ✓ | ✓ |
| 0.12.0 | ✓ | ✓ | ✓ | ✓ |
| v0.13.0-rc.0 | ✓ | ✓ | ✓ | ✓ |
Supported MongoDBVersion CRD
Here, ✓ means supported and ✗ means deprecated.
| NAME | VERSION | KubeDB: 0.9.0 | KubeDB: 0.10.0 | KubeDB: 0.11.0 | KubeDB: 0.12.0 | KubeDB: v0.13.0-rc.0 |
|---|---|---|---|---|---|---|
| 3.4 | 3.4 | ✗ | ✗ | ✗ | ✗ | ✗ |
| 3.4-v1 | 3.4 | ✓ | ✗ | ✗ | ✗ | ✗ |
| 3.4-v2 | 3.4 | ✗ | ✓ | ✓ | ✗ | ✗ |
| 3.4-v3 | 3.4 | ✗ | ✗ | ✗ | ✓ | ✓ |
| 3.4.14 | 3.4.17 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 3.4.22, 3.4-v4 | 3.4.22 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 3.6 | 3.6 | ✗ | ✗ | ✗ | ✗ | ✗ |
| 3.6-v1 | 3.6 | ✓ | ✗ | ✗ | ✗ | ✗ |
| 3.6-v2 | 3.6 | ✗ | ✓ | ✓ | ✗ | ✗ |
| 3.6-v3 | 3.6 | ✗ | ✗ | ✗ | ✓ | ✓ |
| 3.6.8 | 3.6.8 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 3.6.13, 3.6-v4 | 3.6.13 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 4.0.5, 4.0 | 4.0.5 | ✗ | ✓ | ✓ | ✗ | ✗ |
| 4.0.5-v1, 4.0-v1 | 4.0.5 | ✗ | ✗ | ✗ | ✓ | ✓ |
| 4.0.3 | 4.0.3 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 4.0.5-v2 | 4.0.5 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 4.0.11, 4.0-v2 | 4.0.11 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 4.1.7 | 4.1.7 | ✗ | ✓ | ✓ | ✗ | ✗ |
| 4.1.7-v1 | 4.1.7 | ✗ | ✗ | ✗ | ✓ | ✓ |
| 4.1.4 | 4.1.4 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 4.1.7-v2 | 4.1.7-v2 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 4.1.13, 4.1 | 4.1.13 | ✗ | ✗ | ✗ | ✗ | ✓ |
External tools dependency
| Tool | Version |
|---|---|
| peer-finder | latest |
| osm | 0.9.1 |
User Guide
- Quickstart MongoDB with KubeDB Operator.
- MongoDB Replicaset with KubeDB Operator.
- MongoDB Sharding with KubeDB Operator.
- Snapshot and Restore process of MongoDB databases using KubeDB.
- Take Scheduled Snapshot of MongoDB databases using KubeDB.
- Initialize MongoDB with Script.
- Initialize MongoDB with Snapshot.
- Start MongoDB with Custom Config.
- Monitor your MongoDB database with KubeDB using out-of-the-box CoreOS Prometheus Operator.
- Monitor your MongoDB database with KubeDB using out-of-the-box builtin-Prometheus.
- Use private Docker registry to deploy MongoDB with KubeDB.
- Use kubedb cli to manage databases like kubectl for Kubernetes.
- Detail concepts of MongoDB object.
- Detail concepts of MongoDBVersion object.
- Detail concepts of Snapshot object.
- Want to hack on KubeDB? Check our contribution guidelines.






























