AKS version upgrade fails due to private dns zone resource not being found

Fabien Graf 25 Reputation points
2023-12-18T10:30:32.7966667+00:00

We plan to provide seprate environments for several larger customers and have therefore decided to go for a hub spoke network topology. We set up the following resource structure to solve this efficiently and securely:

Multiple environments (dev, staging, prod, prod-customer-1, prod-customer-2, etc) which each use a separate vnet and reside in a separate subscription for cost control. The hub vnet currently resides in the prod subscription. There were no issues setting up this system and it currently works flawlessly with shared private dns zones (one private dns zone "private.westeurope.azmk8s.io" residing in prod subscription and linked to all vnets).

However, when I try to upgrade the dev aks cluster to a new version I get the error
(NotFound) Private dns zone resource '...' nod found.

The dev aks cluster resides in the dev vnet on the dev subscription. The according private dns zone is linked to said vnet. DNS resolution happens in hub vnet. Private dns zone is linked to hub vnet as well and dev and hub vnet are linked to each other.

Can anyone point out why the AKS cluster version upgrade might fail with this constellation? I've (re-)read a lot of documentation regarding private endpoints and hub spoke networks and I feel like our resource structure meets all best practices.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,399 questions
{count} votes

Your answer

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