mongodb-k8s

Charmed Operator for MongoDB

Channel Revision Published Runs on
6/stable 81 20 Aug 2025
Ubuntu 22.04
6/candidate 81 20 Aug 2025
Ubuntu 22.04
6/beta 81 20 Aug 2025
Ubuntu 22.04
6/edge 81 20 Aug 2025
Ubuntu 22.04
8-transition/edge 78 15 Aug 2025
Ubuntu 24.04
8/candidate 80 07 Aug 2025
Ubuntu 24.04
8/beta 80 07 Aug 2025
Ubuntu 24.04
8/edge 80 06 Aug 2025
Ubuntu 24.04
5/edge 39 14 Dec 2023
Ubuntu 22.04
juju deploy mongodb-k8s --channel 6/stable --trust
Show information

Platform:

Charmed MongoDB Tutorials

This section of our documentation contains comprehensive, hands-on tutorials to help you learn how to deploy Charmed MongoDB and become familiar with its available operations.

Prerequisites

While the tutorials intend to guide you as you deploy Charmed MongoDB K8s for the first time, they will be most beneficial if:

  • You have some experience using a Linux-based CLI
  • You are familiar with basic Juju concepts such as models and controllers
  • You are familiar with MongoDB concepts such as users, replica sets, or sharding

Tutorial contents

There is one tutorial available about setting up a replica set. A second tutorial focused on sharded clusters is in development.

Step …for a replica set …for a sharded cluster
1. Set up a cloud environment for your deployment Set up your environment Set up your environment
2. Deploy Charmed MongoDB in a virtual container Deploy MongoDB Deploy MongoDB
3. Access a MongoDB database directly Access a replica set Access a sharded cluster
4. Scale the amount of replicas or shards Scale your replicas Add and remove shards
5. Request and change passwords Manage passwords Manage passwords
6. Access MongoDB from a client application Integrate with other applications Integrate with other applications
7. Enable security in your deployment via TLS Enable TLS Enable TLS
8. Free up your machine’s resources Clean up your environment Clean up your environment