mongodb-k8s

Charmed Operator for MongoDB

Channel Revision Published Runs on
6/stable 117 23 Jan 2026
Ubuntu 22.04
6/candidate 117 23 Jan 2026
Ubuntu 22.04
6/beta 117 23 Jan 2026
Ubuntu 22.04
6/edge 136 06 Feb 2026
Ubuntu 22.04
8-transition/edge 140 06 Feb 2026
Ubuntu 24.04
8-transition/edge 138 06 Feb 2026
Ubuntu 24.04
8/stable 118 23 Jan 2026
Ubuntu 24.04
8/candidate 118 23 Jan 2026
Ubuntu 24.04
8/beta 118 23 Jan 2026
Ubuntu 24.04
8/edge 137 06 Feb 2026
Ubuntu 24.04
8/edge 134 05 Feb 2026
Ubuntu 24.04
juju deploy mongodb-k8s --channel 6/stable --trust
Show information

Platform:

How to upgrade

The MongoDB K8s charm supports minor version upgrades on both replica sets and sharded clusters.

This overview page contains:


Supported revisions

Below is a list of 6/stable revisions of Charmed MongoDB K8s that support upgrades. If you wish to upgrade to/from a different revision, then perform a cluster migration via backup.

:warning: Only upgrade to or from these supported revisions in a production environment.

No revisions support upgrades yet, please revisit this page at a later date.

Before upgrading

Before upgrading, there are some important considerations to take into account:

Current state of your deployment

Before upgrading your Charmed MongoDB deployment, ensure that it is both active and idle with juju status. The deployment should be healthy and not performing and long running operations such as creating a backup.

Concurrency with other operations

We strongly recommend users to not perform any other extraordinary operations on Charmed MongoDB K8s cluster while upgrading, as it can lead the cluster into inconsistent states.

Some examples of extraordinary are operations (but not limited to) the following:

  • Adding or removing units
  • Creating or destroying new relations
  • Upgrading other connected/related/integrated applications simultaneously

Backups

Make sure to have a backup of your data when running any type of upgrade. Guides on how to make a backup can be found here.

Next steps

Once you are ready to upgrade, proceed with:

  1. Perform a minor upgrade on a replica set
  2. Perform a minor upgrade on a sharded cluster

Help improve this document in the forum (guidelines). Last updated 1 year, 4 months ago.