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 5/edge
Show information

Platform:

Charmed MongoDB 5 K8s Tutorial

The Charmed MongoDB K8S Operator delivers automated operations management from day 0 to day 2 on the MongoDB Community Edition document database.

It is an open source, end-to-end, production-ready data platform product on top of Juju and Kubernetes. As a first step, this tutorial shows you how to get Charmed MongoDB on Kubernetes up and running, but the tutorial does not stop there. Through this tutorial you will learn a variety of operations, everything from adding replicas to advanced operations such as enabling Transcript Layer Security (TLS). In this tutorial we will walk through how to:

  • Set up your environment using Microk8s and Juju
  • Deploy MongoDB using a single command.
  • Access the admin database directly.
  • Add high availability with replication.
  • Change the admin password.
  • Automatically create MongoDB users via Juju relations.
  • Enable secure transactions with TLS.

While this tutorial intends to guide and teach you as you deploy Charmed MongoDB K8S, it will be most beneficial if you already have a familiarity with:

  • Basic terminal commands.
  • MongoDB concepts such as replication and users.

Step-by-step guide

Here’s an overview of the steps required with links to our separate tutorials that deal with each individual step:


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