MongoDB Enterprise Operator

The MongoDB Enterprise Kubernetes Operator enables easy deploys of MongoDB into Kubernetes clusters, using our management, monitoring and backup platforms, Ops Manager and Cloud Manager.
Channel
stable
Capability Level
Deep InsightsDeep Insights
Provider
MongoDB, Inc
Container Image
quay.io/mongodb/mongodb-enterprise-operator-ubi@sha256:6d394a5247cc346c4421bd9b37948c0378970dd3f4fc5d6eaac681f4c9655957
Created At
Tue Apr 15, 2025
Maintainers
Categories
Database

MongoDB Enterprise Operator

The MongoDB Enterprise Kubernetes Operator enables easy deploys of MongoDB into Kubernetes clusters, using our management, monitoring and backup platforms, Ops Manager and Cloud Manager.

Before You Start

To start using the operator you''ll need an account in MongoDB Cloud Manager or a MongoDB Ops Manager deployment.

By installing this integration, you will be able to deploy MongoDB instances with a single simple command.

Required Parameters

  • opsManager or cloudManager - Enter the name of the ConfigMap containing project information
  • credentials - Enter the name of the Secret containing your OpsManager credentials
  • type - Enter MongoDB Deployment Types ("Standalone", "ReplicaSet", "ShardedCluster"

Supported MongoDB Deployment Types

  • Standalone: An instance of mongod that is running as a single server and not as part of a replica set, this is, it does not do any kind of replication.

  • Replica Set: A replica set in MongoDB is a group of mongod processes that maintain the same data set. Replica sets provide redundancy and high availability, and are the basis for all production deployments. This section introduces replication in MongoDB as well as the components and architecture of replica sets. The section also provides tutorials for common tasks related to replica sets.

  • Sharded Cluster: The set of nodes comprising a sharded MongoDB deployment. A sharded cluster consists of config servers, shards, and one or more mongos routing processes. Sharding is a A database architecture that partitions data by key ranges and distributes the data among two or more database instances. Sharding enables horizontal scaling.

Requirements for deploying MongoDB OpsManager

  • In order to deploy resources of type MongoDB OpsManager, you will need to create a secret containing the credentials for the Global Owner user

Security

The operator can enable TLS for all traffic between servers and also between clients and servers. Before enabling security.tls.enabled to true you should create your certificates. or you can leave the operator to create all the certificates for you. The operator ability to create certs is been deprecated due to Kubernetes API changes.

For more information, please read the official MongoDB Kubernetes Operator docs.

Custom Resource Definitions

MongoDB Deployment
MongoDB Deployment
View YAML Example
MongoDB Multi Deployment
MongoDB Multi Deployment
View YAML Example
MongoDB User
MongoDB x509 User
View YAML Example
MongoDB Ops Manager
MongoDB Ops Manager
View YAML Example