I have created created a kubernetes cluster with 1 master and 2 nodes in our data centre and deployed a postgres database in it. I would like to access database with with Pgadmin

closed as off-topic by Gaius, Pierre.Vriens, chicks, Xiong Chiamiov, Tensibai Dec 4 '18 at 10:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about general programming problems are not on-topic unless they relate to DevOps in some way. You may be able to get help on Stack Overflow instead." – Gaius, Pierre.Vriens, chicks, Xiong Chiamiov, Tensibai
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Use a kubernetes service to expose this deployment to the world, and use the service url (whether its a load balancer or a node port) to access this deployment – itai ariel Nov 22 '18 at 13:52

Expose the Postgres instance by setting up a node port service. Allow only specific IP addresses to access that service, this prevent unauthorized access.

Not the answer you're looking for? Browse other questions tagged or ask your own question.