Azure Kubernetes Service (AKS) / Azure SQL Managed Instance: AKS nodes cannot connect to SQL MI via VNet-local endpoint

Le Van Khoa 1 Reputation point
2026-07-24T04:14:47.7333333+00:00

Service Azure Kubernetes Service (AKS), Azure SQL Managed Instance (SQL MI)

Scenario Pods/nodes on our AKS cluster are trying to connect to an Azure SQL Managed Instance in the same VNet. The intended connection path is via the VNet-local endpoint (Redirect connection policy, TCP 1433 / 11000-11999).

Result Only the AKS nodes/pods fail to connect to the SQL MI VNet-local endpoint. Regular VMs in the same VNet (both in the same subnet as AKS and in other subnets) can connect to the same Azure SQL MI VNet-local endpoint without any issue.

Environment

  • AKS: outbound connection from node pool / pods
  • SQL MI: deployed in a dedicated (delegated) subnet, connection type is Redirect
  • Testing was done using kubectl debug to access an AKS-managed node and attempt the connection from there

Troubleshooting steps already taken The following test cases have been performed:

Test case Connection path Result
Create a VM in the same subnet as AKS and connect VNet-local EP Success ○
Create a VM in a different subnet and connect VNet-local EP Success ○
Use kubectl debug to access an AKS-managed node and connect VNet-local EP Failure ✕

Network-related resources (route tables, NSGs, etc.) have also been reviewed, and no explicit blocking rule was found. We have not been able to identify the root cause so far.

Question Could you help us identify the root cause and the resolution needed so that AKS can successfully connect to Azure SQL MI via the VNet-local endpoint?

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.