helm / charts

⚠️(OBSOLETE) Curated applications for Kubernetes
Apache License 2.0
15.49k stars 16.79k forks source link

Expose MongoDB Replica Set #1569

Closed alexwine36 closed 5 years ago

alexwine36 commented 7 years ago

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!