Can't established postgresql connection using prisma in-between nodes inside kubernets cluster

Viewed 10

I have bitnami/postgresql set up on kubernetes with helm. I wanted to connect prisma to it,but typing DNS in DATABASE_URL prisma can't establish a connection.

DATABASE_URL="postgresql://postgres:<password>@postgres-postgresql.default.svc.cluster.local:5432/database?schema=public"

Any ideas? I am new with kubernetes

0 Answers
Related