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.
AKS Cluster Stuck In Starting State
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