Scaling of aks node pool (and adding new node pool) fails with "Error: Failed to get a VNet: CLUSTERNAME-vnet."

Jörg Walter 11 Reputation points
2021-01-08T09:54:52.133+00:00

I have two (hopefully) identical clusters. One cluster I can scale from 3 to 5 nodes just fine. With the other cluster I get

"Failed to scale node pool 'nodepool1' in Kubernetes service 'CLUSTERNAME'. Error: Failed to get a VNet: CLUSTERNAME-vnet."
CLUSTERNAME-vnet does exist.

I haven't managed to find any information about this very error message on the net.

Any ideas?

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,159 questions
{count} vote

1 answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,906 Reputation points Microsoft Employee
    2021-01-18T14:05:53.19+00:00

    Posting answer as per solution provided to @Jörg Walter by Azure Support:

    The service principal of the cluster was missing for some reason. After recreating it the scaling works fine.

    @Jörg Walter Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    1 person found this answer helpful.

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.