Draft
Conversation
<!-- start git-machete generated --> # Based on PR #806 ## Chain of upstream PRs as of 2026-03-03 * PR #806: `master` ← `search/base` * **PR #816 (THIS ONE)**: `search/base` ← `search/sharded-cluster` <!-- end git-machete generated --> # Summary MCK already supported deploying single instance of mongot process using MongoDBSearch resource, with the MongoDB replicaset as source. That meant the customers can run search queries/use search against a ReplicaSet deployment. In this PR, we are adding support to have sharded cluster as source to the MongoDBSearch resource. So that search can be used with sharded clusters as well. To achieve this we have added the new field in the `ExternalMongoDBSource` type that can be used to configure the details of the sharded cluster that is going to be used as source. ```go type ExternalMongoDBSource struct { // ShardedCluster contains configuration for external sharded MongoDB clusters. // Mutually exclusive with HostAndPorts. // +optional ShardedCluster *ExternalShardedClusterConfig `json:"shardedCluster,omitempty"` ``` The `ExternalShardedClusterConfig` is mainly used to generate the mongot config, so that mongot correctly knows how to talk to the mongod processes. Rest of the changes revolve around this. ## Proof of Work TBD --------- Co-authored-by: Vivek Singh <vsingh.ggits.2010@gmail.com> Co-authored-by: Julien-Ben <33035980+Julien-Ben@users.noreply.github.com> Co-authored-by: Julien Benhaim <julien.benhaim@mongodb.com> Co-authored-by: Vivek Singh <vivek.s@mongodb.com>
vinilage
requested changes
Mar 25, 2026
| date: 2026-03-25 | ||
| --- | ||
|
|
||
| * MongoDBSearch: Multiple mongot instances, L7 Load Balancing, and Sharded Cluster Support |
Collaborator
There was a problem hiding this comment.
I think here it should be "MongoDBSearch:", is that right?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changelog file for pre-GA milestone of Search support.
Checklist
skip-changeloglabel if not needed