zonkyio / embedded-postgres

Java embedded PostgreSQL component for testing
Apache License 2.0
344 stars 43 forks source link

Cannot access embedded postgres running on k8s pod via service #79

Closed vivekmalhotragithub closed 2 years ago

vivekmalhotragithub commented 2 years ago

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.

tomix26 commented 2 years ago

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.