Single rs possible?

Description:

Is installing a single rs possible? Not 3 replicas, 1.

I don’t want to waste the limited resources of the cluster. I have rdb underlying with 3 replicas, so I don’t need another layer of 3 nodes consuming at least 2 vcpu and 2GB RAM.

I could imagine 2 instances and 1 arbiter, or simply have just 1 instance, configured as a rs, because changelogs require it to be a rs.

Steps to Reproduce:

[Step-by-step instructions on how to reproduce the issue, including any specific settings or configurations]

Version:

8.0.12

Logs:

[If applicable, include any relevant log files or error messages]

Expected Result:

[What the user expected to see or happen before the issue occurred]

Actual Result:

[What actually happened when the user encountered the issue]

Additional Information:

[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]

Yes, it is possible. Some people use this method to feed their debezzium since debezzium feeds from the oplog, and the oplog is only available with a replication setup.,
You can just follow the below and skip the other nodes:

UnsafeFlags section in cr.yaml may help you to avoid any manual manipulation: Custom Resource options - Percona Operator for MongoDB