https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering
How to connect to VM Mysql Databases by using AKS?
How to connect to VM Mysql Databases by using AKS
I have a aks pod service, need to connent VM Databases,
They are in the same Resource Groups
but in the pod, I can't connect databases
How can I do ?
I have already opened port 3306 and adjusted Security group rules, but it does not work.
2 answers
Sort by: Most helpful
-
-
KarishmaTiwari-MSFT 19,952 Reputation points Microsoft Employee
2022-11-02T18:23:36.79+00:00 Original poster shared the resolution as below:
I use kubenet, and created VNet Peering
I found that the reason was Insufficient account permissionsNow, I have open permissions and selected correct Kubenet to create VNet Peering.
The AKS can connect the VM DB now.I referenced this article : https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering