I have only recently started playing with kubernetes and helm and I'm having trouble with the mongodb-replicaset chart.
My goal was to create this cluster and then be able to access it on other servers that I have that need MongoDB.
I have tried to expose the Replica Set with a LoadBalancer but, it doesn't always return the primary node and, I have tried using ingresses but that also got me nowhere.
I feel like there has to be something I am missing. I am just trying to create a MongoDB replica set that is externally available to other sites that I run and connect to with a Mongo URI
Question
I have only recently started playing with kubernetes and helm and I'm having trouble with the mongodb-replicaset chart.
My goal was to create this cluster and then be able to access it on other servers that I have that need MongoDB.
I have tried to expose the Replica Set with a LoadBalancer but, it doesn't always return the primary node and, I have tried using ingresses but that also got me nowhere.
I feel like there has to be something I am missing. I am just trying to create a MongoDB replica set that is externally available to other sites that I run and connect to with a Mongo URI
Thanks in advance for the help!