The application is run on +/-20 java spring boot microservices with AWS EKS. Each one replicates to 3 instances, so the setup is with 60 microservices.
RDS Postgres is run on
db.t2.medium with limit up to 400 connections.
Obviously while starting up services it throws
FATAL: remaining connection slots are reserved for non-replication superuser connections.
What is the proper way to deal with the problem with the described 60+ microservices architecture