How to create a Mongodb standalone topology using operator

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?


1 Like

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.

1 Like