Report this

What is the reason for this report?

How to connect to mongodb atlas cluster from a kubernetes

Posted on August 11, 2019

Hi Folks,

We have nodeJS application, which we are trying to deploy on DO K8S. we use mongodb atlas and mongoose, it works perfectly on DO on docker-compose. I am getting below error when deploying on K8S. Appreciate any help; I have already explored a lot but no help

https://stackoverflow.com/questions/56402472/kubernetes-node-js-container-cannot-connect-to-mongodb-atlas https://stackoverflow.com/questions/54213912/unable-to-connect-to-mongodb-atlas-cluster-from-a-kubernetes-cluster

Thanks, Arvind

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.