I have a database cluster that needs to set IP range into the whitelist. I set up a kubernetes cluster and run my app. How can I give/get the kubernetes cluster an IP address so that I can set it to my whitelist?
Thank you~
VPC
's CIDR
3306
from the above CIDR
Hopefully this allow everything in your kubernetes
cluster to reach your database.
There are of course more fine-grained and complex solution for security policies (e.g. allow only specific pods to reach your db) but that is most likely another story / question.
If you can SSH into the cluster, you can run "ip addr show" to get the ip address.