MongoDB
MongoDB is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas, making the integration of data in certain types of applications easier and faster.
Based on the Bitnami MongoDB image for docker, this Chart bootstraps a MongoDB deployment on a Kubernetes cluster using Helm Classic.
Persistence
For persistence of the MongoDB data, mount a storage volume at the /bitnami/mongodb/data path of the MongoDB pod.
By default the MongoDB Chart mounts an emptyDir volume.
Configuration
To edit the default MongoDB configuration, run
$ helmc edit mongodb
Configurable parameters can be specified in tpl/values.toml. If not specified default values as defined by the Bitnami MongoDB image are used.
Tip: If you have issues running the above command, add
se autochdirto your~/.vimrcprofile or simply edit~/.helmc/workspace/charts/mongodb/tpl/values.tomlin your favourite editor.
Finally, generate the chart to apply your changes to the configuration.
$ helmc generate --force mongodb
Cleanup
To delete the MongoDB deployment completely:
$ helmc uninstall -n default mongodb