Managed DB, LKE cluster
I want some of my pods to have access to a managed DB.
What's the best way to configure access control (e.g allow the whole cluster to have access)?
To give your whole cluster access, you could use the private network host to connect your LKE cluster to your managed DB. Communicating over a private network does require your managed DB and your LKE cluster to be located in the same datacenter. You would want to add the private IP range
192.168.128.0/17 to your Access Controls on your Managed DB Summary page, which would prevent you needing to reconfigure access when your nodes get recycled.
As of right now, LKE and DBaaS aren’t designed to directly interact with each other, but our teams are looking into potentially streamlining this in the future.
Hopefully this workaround gets things working for you! Let us know how it goes.