You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do to encounter the bug?
I followed this guide to deploy a MongoDBCommunity instance with external access But i am struggling to connect to the instance as described in the documentation.
Wait until the MongoDBCommunity instance in Running state in Kubernetes and describe:
k des mdbc my-mongo-db -n mongodb
---
Name: my-mongo-db
Namespace: mongodb
Labels: <none>
Annotations: mongodb.com/v1.lastAppliedMongoDBVersion: 4.4.13
mongodb.com/v1.lastSuccessfulConfiguration:
{"members":2,"type":"ReplicaSet","version":"4.4.13","arbiters":1,"replicaSetHorizons":[{"horizon":"my-mongodb-0.example.com:311...API Version: mongodbcommunity.mongodb.com/v1 . . . Status: Current Mongo DB Arbiters: 1 Current Mongo DB Members: 2 Current Stateful Set Arbiters Replicas: 1 Current Stateful Set Replicas: 2 Mongo Uri: mongodb://my-mongo-db-0.mongo-db-svc.my-mongodb.svc.cluster.local:27017,my-mongo-db-1.mongo-db-svc.my-mongodb.svc.cluster.local:27017/?replicaSet=my-mongo-db Phase: Running Version: 4.4.13Events: <none>
What did you expect?
I expected:
the FQDNs defined in the replicaSetHorizons section to be seen under the Mongo Uri when i describe the MongoDBCommunity instance in K8s, Instead of Mongo Uri: mongodb://my-mongo-db-0.mongo-db-svc.mongodb.svc.cluster.local:27017,my-mongo-db-1.mongo-db-svc.mongodb.svc.cluster.local:27017/?replicaSet=my-mongo-db .
to use mongosh and the external URI to connect to the DB:
This issue is being marked stale because it has been open for 60 days with no activity. Please comment if this issue is still affecting you. If there is no change, this issue will be closed in 30 days.
What did you do to encounter the bug?
I followed this guide to deploy a MongoDBCommunity instance with external access But i am struggling to connect to the instance as described in the documentation.
Steps to reproduce the behavior:
kubectl
:My Certificate:
External services definitions:
MongoDBCommunity
instance inRunning
state in Kubernetes and describe:What did you expect?
I expected:
the FQDNs defined in the
replicaSetHorizons
section to be seen under theMongo Uri
when i describe theMongoDBCommunity
instance in K8s, Instead ofMongo Uri: mongodb://my-mongo-db-0.mongo-db-svc.mongodb.svc.cluster.local:27017,my-mongo-db-1.mongo-db-svc.mongodb.svc.cluster.local:27017/?replicaSet=my-mongo-db
.to use
mongosh
and the external URI to connect to the DB:What happened instead?
i keep getting the error
❯ k get pods -n mongodb
❯ kg svc -n mongodb
❯ k get mdbc -n mongodb
The text was updated successfully, but these errors were encountered: