LKE and managed Postgres DB - Access Controls

I've a LKE cluster and a managed Postgres DB instance.
What is the best access controls configuration (in terms of security) to permit k8s pods to connect to database?

2 Replies

Hi @TADevs - What's best for you depends on your specific setup, though I can point you in the right direction.

LKE would treat a Managed Database just like any other remote database, so you can use similar solutions as you would for any other database.

As for connecting to the Managed PostgreSQL Database itself we have a guide on doing so here:

https://www.linode.com/docs/products/databases/managed-databases/guides/postgresql-connect/

There's also a Community Site post on securing LKE that may help:

https://www.linode.com/community/questions/21412/how-to-secure-lke-nodes-and-linodes

Hi @mjones, thanks for answer.

If I setup the database access controls as 192.168.0.0/16, is the database only visible to my linodes or is it also visible to other users?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct