AKS Cluster Stuck In Starting State

RG 0 Reputation points
2023-02-13T20:43:51.2966667+00:00

I have an Azure AKS cluster stuck in a starting state. I was originally getting the following error: x509: certificate has expired or is not yet valid. I tried to stop and restart the cluster. It stopped successfully, but it has been sitting in "starting" state for over 2 hours now. I have tried the following commands to no avail.

az aks rotate-certs -g <RESOURCE_GROUP_NAME> -n <CLUSTER_NAME>

az aks operation-abort --name <Cluster Name> --resource-group <resource group>

az resource update -n <Cluster Name> -g <resource group> --namespace Microsoft.ContainerService --resource-type ManagedClusters

Both commands come back with an error of "Resource not found".

I even tried to update the kubernetes version, and it won't allow that either.

Any help to get AKS stopped so I can hopefully rotate the certs and do an upgrade on kubernetes would be appreciated.

Thank you,

Robert

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RG 0 Reputation points
    2023-02-13T22:23:03.5966667+00:00

    It finally failed and I was able to run the rotate-certs command. I am good now. Just took over two hours for it to fail.


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.