skip to Main Content

How to connect to mongodb replicaset (k8s) using compass

I installed mongodb as a replicaset with 3 replicas on my k8s cluster using the bitnami helm chart. So I get these pods: mongodb-0.mongodb-headless.mongodb.svc.cluster.local:27017 mongodb-1.mongodb-headless.mongodb.svc.cluster.local:27017 mongodb-2.mongodb-headless.mongodb.svc.cluster.local:27017 Now I would like to get access using mongodb compass. I set a port…

VIEW QUESTION

Docker-compose up working but docker run not work

When i try to run "docker-compose up". It is working. But when i try to run "docker run denexbackend_denex-service". I am getting mongo connection timeout error. Denex.Backend is open source project. appsettings.json "MongoDbSettings": { "ConnectionString": "mongodb://mongodb-service:27017", "Database": "DenexDB" }, docker-compose.yml…

VIEW QUESTION
Back To Top
Search