Charmed Operator for MongoDB
- Canonical
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
6/stable | 61 | 15 Nov 2024 | |
6/candidate | 61 | 15 Nov 2024 | |
6/beta | 61 | 15 Nov 2024 | |
6/edge | 61 | 15 Nov 2024 | |
5/edge | 39 | 14 Dec 2023 |
juju deploy mongodb-k8s --channel 6/stable
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
Clean up the environment
In this tutorial, we’ve successfully:
- Deployed MongoDB on LXD
- Scaled our deployment
- Added and removed database users
- Enabled and disabled TLS
You may now keep your MongoDB deployment running to continue experimenting, or remove it entirely to free up resources on your machine.
Remove Charmed MongoDB
If you remove Charmed MongoDB as shown below, you will lose all data stored in MongoDB.
To remove Charmed MongoDB K8s, delete the juju model it is hosted on:
juju destroy-model tutorial --destroy-storage --force
Then, remove the overlord
Juju controller. You can see all the available controllers by entering juju controllers
.
To remove the overlord
controller used in this tutorial, enter:
juju destroy-controller overlord
Remove Juju
If you remove Juju as shown below, you will lose access to any other applications you have hosted on Juju.
To remove Juju altogether, enter:
sudo snap remove juju --purge
You’ve successfully completed our Charmed MongoDB K8s tutorial
What next?
- Run Charmed MongoDB on VM.
- Look into some of our other charms, like PostgreSQL and Kafka.
- Read about High Availability Best Practices
Join the community!
- Meet the community and chat with us on Matrix
- Report any problems you encountered.
- Contribute to the code base
- Contribute to the documentation