The Charm Store will undergo scheduled database maintenance on July 5, 2026 22:00 to July 6, 02:00 UTC. During this time, you may be unable to access charm and bundle metadata or publish updates. No user action is required and services will automatically resume once maintenance is complete.

Charmed Operator for MongoDB

Canonical Publisher

Platform:

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 207 08 Jun 2026
Ubuntu 22.04
8-transition/edge 206 08 Jun 2026
Ubuntu 24.04
8-transition/edge 205 08 Jun 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 211 23 Jun 2026
Ubuntu 24.04
8/edge 210 23 Jun 2026
Ubuntu 24.04
juju deploy mongodb-k8s --channel 6/stable --trust

Learn about actions >

  • create-backup

    Create a database backup. S3 credentials are retrieved from a relation with the S3 integrator charm.

  • force-refresh-start

    Force refresh of this unit. Potential of data loss and downtime.

  • get-password

    Change the system user's password used by charm. It is for internal charm users and SHOULD NOT be used by applications.

    Params
    • username string

      The username, the default value 'operator'. Possible values - operator, monitor.

  • get-primary

    Report primary replica

  • list-backups

    List available backup_ids in the S3 bucket and path provided by the S3 integrator charm.

  • pre-refresh-check

    Check if charm is ready to refresh.

  • restore

    Restore a database backup. S3 credentials are retrieved from a relation with the S3 integrator charm.

    Params
    • backup-id string

      A backup-id to identify the backup to restore. Format of <%Y-%m-%dT%H:%M:%SZ>

  • resume-refresh

    Refresh remaining units (after you manually verified that refreshed units are healthy).

    Params
    • force boolean

      Potential of data loss and downtime

      Force refresh of next unit.

      Use to

      • force incompatible refresh and/or
      • continue refresh if 1+ refreshed units have non-active status

  • set-password

    Change the system user's password used by charm. It is for internal charm users and SHOULD NOT be used by applications.

    Params
    • password string

      The password will be auto-generated if this option is not specified.

    • username string

      The username, the default value 'operator'. Possible values - operator, monitor.

  • set-tls-private-key

    Set the privates key, which will be used for certificate signing requests (CSR). Run for each unit separately.

    Params
    • external-key string

      The content of private key for external communications with clients. Content will be auto-generated if this option is not specified.

    • internal-key string

      The content of private key for internal communications with clients. Content will be auto-generated if this option is not specified.

  • status-detail

    Gets statuses of the charm

    Params
    • recompute boolean

      a boolean indicating whether a unit should recompute all statuses.