Provisioning state: Failed, when trying to deploy a AKS Kubernetes Cluster to my Azure HCI Stack

Christian Dilling-Hansen 0 Reputation points
2024-08-12T19:19:21.46+00:00

Hi

I have a setup a Azure Stack HCI Cluster with 2 nodes. I can deploy normal vm workloads, but when I try to deploy a AKS Kubernetes Cluster I get the Failed Provision state after some time.

provisionedClusterInstances_CreateOrUpdate

And also

Time stampMon Aug 12 2024 21:11:32 GMT+0200 (Centraleuropæisk sommertid)

  • Event initiated byK8s Update Status writer
  • Error codePreconditionFailed
  • MessageOne of the specified pre-condition is not met

Also where are the deployment logs located and what can be wrong

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,311 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 10,330 Reputation points
    2024-08-12T21:28:52.37+00:00

    Hello Christian Dilling-Hansen,

    Thanks for posting your question in the Microsoft Q&A forum.

    If your logical network names contain underscores, this can cause issues with AKS cluster creation.

    Deployments via Azure Resource Manager can time out after 2 hours. If your deployment takes longer, it might appear as failed even if the cluster is created successfully. Monitor the deployment in the Azure portal for more details


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is 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.