Question about Mongodb Kubernetes Operator

  • After entering ‘mongo’ command to connect to the Service it always logs in into SECONDARY and not MASTER. Is there anything I can do about it?
  • Also when I run ‘db.adminCommand( { replSetGetStatus: 1 } )’ I see ““set” : “example-scram-mongodb”,”. Should it be ‘rs0’ or something like that instead?
  • I can’t find a way to ask for LoadBalancer and not ClusterIP type of Service. Enterprise version has it well documented but those options are not available in Community version

Please help to clarify