MongoDB Sharded Simple Example

Simple example configuration for getting started with MongoDB sharded cluster.

Requirements

Name

Version

terraform

>= 1.2

helm

>= 2.10.1, < 3.0.0

kubernetes

>= 2.21.1

Providers

No providers.

Modules

Name

Source

Version

sharded_mongodb

../../

n/a

Resources

No resources.

Inputs

Name

Description

Type

Default

Required

kube_config_path

The kubernetes configuration file path you want to specify

string

"~/.kube/config"

no

namespace

Namespace of ArmoniK resources

string

"default"

no

Outputs

Name

Description

endpoints

Endpoints of MongoDB

env

Environment variables passed down to ArmoniK Core

env_from_secret

Environment variables from secrets

host

Hostname or IP address of MongoDB server

mount_secrets

Secrets to be mounted as volumes

number_of_replicas

Number of replicas for each shard

number_of_shards

Number of MongoDB shards

port

Port of MongoDB server

url

URL of MongoDB server

user_credentials

User credentials of MongoDB