KubeBlocks uses a declarative approach for managing MongoDB Replication Clusters.
Below is an example configuration for deploying a MongoDB ReplicaSet Cluster with one primary replica and two secondary replicas.
Apply the following YAML configuration to deploy the cluster: