Post

MongoDB Proper Kubernetes installation with Helm

Overview

In a previous post I created my own MongoDB deployment and installed with Kustomize. Let’s use the “official” Bitnami Helm Chart to install MongoDB. This installs MongoDB as a standalone (NO High Availability) node. For my purpose I’m also making it a statefulset so my backup scripts work the same regardless if the architecture is standalone or replicaset.

1
2
3
4
5
6
helm install mongodb-ce oci://registry-1.docker.io/bitnamicharts/mongodb -n mongodb-ce --create-namespace \
--set architecture=standalone \
--set useStatefulSet=true \
--set service.type=LoadBalancer \
--set auth.rootUser="root" \
--set auth.rootPassword="Candy123"
This post is licensed under CC BY 4.0 by the author.