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:

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

Hi @mjones, thanks for answer.

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


Please enter an answer

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] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct