J
J
jenig2021-02-09 10:38:21
PostgreSQL
jenig, 2021-02-09 10:38:21

How to connect application in Tomcat to Postgres in Kubernetes?

Deployed deployments in an MCS - Kubernetes cluster with Postgresql and Tomcat with a server application, configured services and ingress. The server responds to requests, but does not return data from the database, it seems that the connection to the database was incorrectly configured in kubernetes. Before that, everything was on the Ubuntu server and worked without problems. Can you tell me what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Roo, 2021-02-09
@xez

In the wrong connection parameters, a crookedly configured network, a non-working application, a non-working database, equipment failure, etc.
All answers are in the logs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question