Charmed MongoDB K8s

Channel Revision Published Runs on
latest/stable 14 01 Aug 2022
Ubuntu 20.04
latest/edge 20 02 Mar 2023
Ubuntu 22.04
6/beta 38 05 Dec 2023
Ubuntu 22.04
6/edge 40 14 Dec 2023
Ubuntu 22.04
5/edge 39 14 Dec 2023
Ubuntu 22.04
juju deploy mongodb-k8s --channel 6/beta
Show information

Platform:

Cleanup and extra info

This is part of the Charmed MongoDB K8s Tutorial. Please refer to this page for more information and the overview of the content.

Remove Charmed MongoDB K8s and Juju

If you’re done using Charmed MongoDB K8s and Juju and would like to free up resources on your machine, you can remove Charmed MongoDB and Juju.

Warning: when you remove Charmed MongoDB K8s as shown below you will lose all the data in MongoDB. Further, when you remove Juju as shown below you will lose access to any other applications you have hosted on Juju..

To remove Charmed MongoDB K8s and the model it is hosted on run the command:

juju destroy-model tutorial --destroy-storage --force

Next step is to remove the Juju controller. You can see all of the available controllers by entering juju controllers. To remove the controller enter:

juju destroy-controller overlord

Finally, to remove Juju altogether, enter:

sudo snap remove juju --purge

Next Steps

In this tutorial we’ve successfully deployed MongoDB, added/removed replicas, added/removed users to/from the database, and even enabled and disabled TLS. You may now keep your Charmed MongoDB K8s deployment running and write to the database or remove it entirely using the steps in Remove Charmed MongoDB K8s and Juju. If you’re looking for what to do next you can:


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