You can use the Kubernetes Operator to deploy MongoDB Search and
Vector Search on a Kubernetes cluster to run with an external
MongoDB Enterprise Edition 8.2 or later server. This tutorial
shows you how to deploy and configure one or more mongot
processes in your Kubernetes cluster to use a new or existing external
replica set or sharded cluster.
Overview
Prerequisites
Before You Begin
Before you install MongoDB Search and Vector Search using the Kubernetes Operator, you must do the following:
Log in to the Cloud Manager or Ops Manager UI and perform the following steps to configure Cloud Manager or Ops Manager for MongoDB Search and Vector Search.
Modify your Cloud Manager or Ops Manager deployment configuration.
Click the Modify button to open the deployment configuration editor.
Click Advanced Configuration Options under the Process Configuration section.
Click the Add Option button and select setParameter Startup Option from the dropdown.
Add the following parameters in the fields, one by one, by clicking Add after adding the name and value:
You must create a user with the searchCoordinator
role. In MongoDB versions 8.2 and later,
searchCoordinator is a built-in role.
To create the user and assign them the built-in
searchCoordinator role, complete the following steps using
either the Cloud Manager or Ops Manager UI or the mongosh:
In mongosh, run the following commands:
Prepare your environment to run the sample code in this tutorial in a terminal.
Install MongoDB Search and Vector Search
Procedure
Troubleshoot
Next Steps
After deploying MongoDB Search and Vector Search to use with external MongoDB Enterprise Edition, you can add data into your MongoDB cluster, create MongoDB Search and Vector Search indexes, and run queries against your data. To learn more, see MongoDB Search and Vector Search Settings.