System requirements

Below are the minimum software and hardware requirements for running Charmed MongoDB 8.

Software

  • Juju 3.0 or higher

  • Ubuntu 24.04 (Noble)

Hardware

  • At least 2GB of RAM for replica sets

  • At least 4GB of RAM for sharded clusters

  • At least 2CPU threads per host

  • At least 60GB of available storage per host for production deployments

Architecture

This charm must run on architectures that support AVX.

To check your architecture, run:

grep avx /proc/cpuinfo

or

grep avx /proc/cpuinfo

Kernel Parameters

Charmed MongoDB 8 works best with Transparent Hugepages enabled.

If you’re running Charmed MongoDB on VM, this is handled by the charm.

If you’re running Charmed MongoDB on an LXD Container, please enable the Transparent Huge Tabes on the host:

lxc config set <instance_name> limits.hugepages.<hugepage-size>=<number of hugepages>

Charmed MongoDB on Kubernetes does not support yet setting the Transparent Hugepages.