Cannot resolve host "postgresql"; lookup postgresql on 10.23.0.05:53: no such host on rke2 cluster #6297
anishagoyal0504
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I have deployed keycloak container image in kubernetes rke2 cluster with its own separate postgresql database?
in my case, both keycloak and postgresql are running in separate containers on different pods on the nodes and postgresql pod is running ok with its own clusterIP service on port 5432, when I deployed the keycloak pod and it is failing with the error below:
Cannot resolve host "postgresql"; lookup postgresql on 10.23.0.05:53: no such host
The above ip address indicated in the error is coredns IP which is also working fine. I have two pods
Not sure what causing this and how to resolve this
Any help will be be appreciated
Beta Was this translation helpful? Give feedback.
All reactions