You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, MongoDB deploys as a replica set with the specified number of replicas.
31
+
This mode is suitable for most use cases requiring high availability.
32
+
33
+
### Sharded Cluster Mode
34
+
35
+
Enable `sharding: true` for horizontal scaling across multiple shards.
36
+
Each shard is a replica set, and mongos routers handle query routing.
37
+
38
+
## Notes
39
+
40
+
### External Access
41
+
42
+
When `external: true` is enabled:
43
+
-**Replica Set mode**: Traffic is load-balanced across all replica set members. This works well for read operations, but write operations require connecting to the primary. MongoDB drivers handle primary discovery automatically using the replica set connection string.
44
+
-**Sharded mode**: Traffic is routed through mongos routers, which handle both reads and writes correctly.
45
+
46
+
### Credentials
47
+
48
+
On first install, the credentials secret will be empty until the Percona operator initializes the cluster.
49
+
Run `helm upgrade` after MongoDB is ready to populate the credentials secret with the actual password.
16
50
17
51
## Parameters
18
52
@@ -31,13 +65,23 @@ Managed MongoDB service
31
65
|`version`| MongoDB major version to deploy. |`string`|`v8`|
0 commit comments