Unable to connect applications to database

10/28/2019

I have two EKS clusters(production-development), with the following configuration:

  • 1 mongodb database with created with helm mongodb.

  • 3 node applications that connects to the preivous database.

It was working properly on development and production environment, until I updated my nodejs applications.

Now, I can only connect to the database from a single replica(1 instance). If I increase the nodejs app replicas, the added replicas can't connect to the database.

It is working well in development environment, but not in production.

Can someone point me to the right direction on this?

-- xorb
eks
kubernetes
mongodb

0 Answers