You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kubernetes developer/contributor discussion
Usually I create one mysql pod and connect it to my java application pod buy getting the sql pod ip address and replace my db_uri as follow jdbc:mysql://MYSQL-POD-IP:3306/ THEN THE CONNECTION WILL BE RUNNING FINE WITH NO ISSUE. but then I tried to create MYSQL pod using Deployments and replica sets following the link bellow and then when I tried to replace the db_uri as follow jdbc:mysql://SERVICE-CLUSTER-IP:3306/ NO CONNECTION WAS ACCOMPLISHED.
In the case below, make sure you expose your deployment with a service, then assuming you have a DNS add-on properly running, reach your mysql with its DNS name (not the cluster IP).