Creat a new AKS cluster always fail

Rocky Zhang 5 Reputation points
2023-07-12T15:21:12.4166667+00:00

I am a new learner of Azure. Now I want to study the Kubernetes, and I am unable to create an Azure Kubernetes Services Cluster.

I am following this Microsoft Learn article to creat in the protal:
https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-portal?tabs=azure-cli

The region is seleted as the EastUS. While, when I finish all the steps and start to create. there is a failed task appear with the following error and message:

Deployment Failed

message:The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'

I have tried creating the AKS cluster in the different Azure regions and different VM sizes for the Nodes. Seem to always get the same error. I am very confused what's the reason. Hope some one can helpme.

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,254 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,431 Reputation points
    2023-07-13T01:18:09.3566667+00:00

    Hello Rocky Zhang

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    I'm sorry to hear that you're having trouble creating an Azure Kubernetes Services Cluster. The error message you received indicates that the resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. This could be due to a number of reasons, such as incorrect configuration setting, resource group limitations or insufficient resources.

    To troubleshoot this issue, I recommend checking the deployment logs to see if there are any specific error messages that can help identify the root cause of the problem.

    If you are still unable to identify the issue, you can try creating the AKS cluster using the Azure CLI or Azure PowerShell instead of the Azure portal. This may provide more detailed error messages that can help you troubleshoot the issue.

    Ref: https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli

    https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-powershell

    Additionally, you can check if you have sufficient permissions to create the AKS cluster. You need to have the "Contributor" or "Owner" role assigned to your Azure account to create an AKS cluster.

    I hope this helps!

    0 comments No comments

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.