zonkyio/embedded-postgres

Cannot access embedded postgres running on k8s pod via service

vivekmalhotragithub opened this issue · 1 comments

basically I have a embedded postgres db running on a k8s pod. My app which is running on another pod accessing the db via a service which exposes the port.

but it does not work.

This library is intended for testing-only purposes. In that case, it should always run on a single machine. Use in Kubernetes is neither intended nor supported.