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

CC BY-SA 4.0
2018-11-27T11:13:31.910Z
2018-11-27T11:13:31.910Z
Shajan
<p>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</p>

CC BY-SA 4.0
2018-11-22T13:52:17.027Z
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
<kubernetes>
Access database deployed in kubernetes
Jinil
# Access database deployed in kubernetes

(Asked by: username_0 on 2018-11-22)

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

**Tags:** kubernetes

> **Comments:**
> **username_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  

---

## 1 answers

### Answer by username_2 on 2018-11-27. Score: 0 | Accepted answer

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


---

