This cluster is in a failed state. If you didn't do an operation, AKS may resolve the provisioning status automatically if your cluster applications continue to run.

CardinaleFrancesco-4268 0 Reputation points
2024-05-26T05:48:32.77+00:00

HI

for the second time, when the subcription is reactivated because the credit has run out, I try to restart the AKS and the following error appears:

This cluster is in a failed state. If you didn't do an operation, AKS may resolve the provisioning status automatically if your cluster applications continue to run.Learn more

The first time I reinstalled, but this time I want to recover the work done previously

Can we solve the problem?

Thank you

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.
1,997 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Vinodh247 13,801 Reputation points
    2024-05-26T07:26:46.75+00:00

    Hi CardinaleFrancesco-4268,

    Thanks for reaching out to Microsoft Q&A.

    This cluster is in a failed state. If you didn't do an operation, AKS may resolve the provisioning status automatically if your cluster applications continue to run.

    yes, that's right. mostly it will resolve automatically the provisioning status if your cluster applications continue to run and without any additional intervention. If this is not possible, you can try to...

    1. Cluster Reconcile: az aks update -n <> -g <> as mentioned here.

    would suggest to check with logs first as 'akram kathimi' as mentioned. this might provide you with some insights on cause of the issue.

    1 person found this answer helpful.

  2. Akram Kathimi 1,046 Reputation points Microsoft Employee
    2024-05-26T07:49:13.7833333+00:00

    Hi @CardinaleFrancesco-4268 ,

    Thank you for posting this question.

    The cluster will attempt to reconcile itself, but most of the time, the failed state means that something went wrong when starting the cluster.

    A cluster in a failed state is a very common error, that has countless causes. Therefore, to troubleshoot the issue, we need to understand why this happened using the error that you can find in the Activity Log of the cluster (you will need to scroll down in the json file for the exact error).

    Please share the error here, so that I can help you with the next steps.

    Thank you.
    Akram.

    0 comments No comments

  3. vipullag-MSFT 26,021 Reputation points
    2024-05-28T04:10:26.6833333+00:00

    Hello CardinaleFrancesco-4268

    The error message you received indicates that creating or starting a free tier cluster is currently unavailable in the West Europe region. To resolve this issue, you can either create a paid tier cluster or use an alternate region to create your cluster.

    If you want to create a paid tier cluster, you can use the following command:

    az aks create --resource-group <resource-group-name> --name <cluster-name> --node-count <node-count> --node-vm-size <node-vm-size> --generate-ssh-keys

    This command will create a new AKS cluster with the specified node count and VM size.

    If you want to use an alternate region to create your cluster, you can use the --location parameter to specify the region. For example:

    az aks create --resource-group <resource-group-name> --name <cluster-name> --node-count <node-count> --node-vm-size <node-vm-size> --generate-ssh-keys --location <region>

    This command will create a new AKS cluster in the specified region.

    Ref: https://learn.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-create

    Hope this helps.

    0 comments No comments