Docs Home → MongoDB Enterprise Kubernetes Operator
Multi-Kubernetes-Cluster Quick Start
On this page
- Prefer to Learn by Watching?
- Deploy a MongoDBMultiCluster Resource
- Create the secret for the TLS certificate of your
MongoDBMultiCluster
resource. - Create the ConfigMap to link your CA with your
MongoDBMultiCluster
resource. - Run the
kubectl mongodb
plugin. - Optional: Set the Istio injection webhook in each member cluster.
- Configure
kubectl
to use the central cluster's namespace. - Deploy the MongoDB Enterprise Kubernetes Operator in the central cluster.
- Create a secret to use with Ops Manager and create a ConfigMap.
- Deploy Ops Manager on the central cluster and connect to Ops Manager.
- Deploy the
MongoDBMultiCluster
resource. - Verify that the
MongoDBMultiCluster
resources are running. - Renew TLS Certificates for a MongoDBMultiCluster Resource
- Run the
kubectl mongodb
plugin. - Optional: Set the Istio injection webhook in each member cluster.
- Configure
kubectl
to use the central cluster's namespace. - Deploy the MongoDB Enterprise Kubernetes Operator in the central cluster.
- Create a secret to use with Ops Manager and create a ConfigMap.
- Deploy Ops Manager on the central cluster and connect to Ops Manager.
- Deploy the
MongoDBMultiCluster
resource. - Verify that the
MongoDBMultiCluster
resources are running. - Next Steps
Use the quick start to deploy a MongoDB replica set across three Kubernetes member clusters, using GKE (Google Kubernetes Engine) and Istio service mesh.
Before you begin:
Learn about multi-Kubernetes-cluster deployments
Review the list of multi-Kubernetes-cluster services and tools
Complete the prerequisites
Note
The following procedures scope your multi-Kubernetes-cluster deployment to a single
namespace named mongodb
. You can configure your multi-Kubernetes-cluster deployment to
watch resources in multiple namespaces
or all namespaces.
Prefer to Learn by Watching?
Follow along with this video tutorial walk-through that demonstrates how to create a multi-Kubernetes-cluster deployment.
Duration: 12 Minutes
Deploying a MongoDB Replica Set across Multiple Kubernetes Clusters
Deploy a MongoDBMultiCluster Resource
Select the appropriate tab based on whether you want to encrypt replica set connections in your multi-Kubernetes-cluster deployments using TLS certificates.
Next Steps
After deploying your MongoDB replica set across three Kubernetes member clusters, you can add a database user so you can connect to your MongoDB database. See Manage Database Users.