# How to create a Mongodb standalone topology using operator

**URL:** <https://forums.percona.com/t/how-to-create-a-mongodb-standalone-topology-using-operator/17304>\
**Category:** Percona Operator for MongoDB\
**Created:** [September 5, 2022, 6:54am UTC](https://forums.percona.com/t/how-to-create-a-mongodb-standalone-topology-using-operator/17304 "2022-09-05T06:54:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alessandro\_Rovetto](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/alessandro_rovetto/32/7669_2.png) [@Alessandro\_Rovetto](https://forums.percona.com/u/Alessandro_Rovetto)\
**Post date:** [September 5, 2022, 6:54am UTC](https://forums.percona.com/t/how-to-create-a-mongodb-standalone-topology-using-operator/17304/1 "2022-09-05T06:54:40Z")

</div>

For developing purpose, I need to create a standalone topology of mongodb. I’d like to use operator to build it, so I can reuse the same deployment way both for production and development. For what I’ve seen so far, replicaset mode is not switchable. Can you help me with this configuration?

Thanks

---

<div class="post-metadata">

**Author:** ![Tomislav\_Plavcic](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/tomislav_plavcic/32/9717_2.png) [@Tomislav\_Plavcic](https://forums.percona.com/u/Tomislav_Plavcic)\
**Post date:** [September 5, 2022, 8:23am UTC](https://forums.percona.com/t/how-to-create-a-mongodb-standalone-topology-using-operator/17304/2 "2022-09-05T08:23:16Z")

</div>

Hi @Alessandro_Rovetto !

You will need to set “allowUnsafeConfigurations: true” and set replica set size to 1.  
Although in this case you will get a replica set, but just with 1 node (primary) - not exactly the same as a standalone so not sure if it will be ok for your use case or not.  
I don’t think there’s a way to start true standalone with our operator.
