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 > Deploy a sharded cluster > 3. Access a sharded cluster

This page of the tutorial for deploying Charmed MongoDB K8s on sharded clusters is currently under construction.

In the meantime, to learn how to access a sharded cluster, you can follow the links provided in this page, or follow the sharded cluster tutorial for MongoDB on virtual machines

Thank you for your patience!

Access a sharded cluster

To deploy, integrate, and retrieve the URI, see: Mongos K8s documentation > Get started (external page)

To access the mongo shell and create a test database, see Tutorial > Deploy a replica set > 3. Access a replica set

Keep in mind that for a sharded cluster, you must ssh into the config-server unit instead of mongodb-k8s.

Next Step: 4. Add and remove shards


Help improve this document in the forum (guidelines). Last updated 2 months ago.