Kubernetes pods how to interact with the database

Asking for help? Comment out what you need so we can get more information to help you!

How do the pods in the kubernetes will connect to the database like (sql,mango db) can any one give me the idea iam searching for a long time and iam useing the aws cloud services ?

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

They connect to databases just like any other application. You can pass in credentials in a secure way through a secret, and pass in any other connect information either as env vars or a configmap.

could you help me out with the example how to interact with the database in aws