agent pool is in a non-terminal state, stopping cannot be performed.
I've created an aks cluster with one user nodepool apart from the system nodepool, where mincount and maxcount is 1. (the purpose of this nodepool is to host the database servers)
Note: also using the managed ssd's attached to the pods running on them....
After some sort of time i've stopped the cluster....
And when i try to start again it started, and again i try to stop after 3 days, and i can't able to stop it....
and getting the below :agent pool is in a non terminal state, stopping cannot be performed
below is the cli output:
az aks stop --name <cluster-name> --resource-group <rg-name>
(OperationNotAllowed) Cannot stop managed cluster when deletion for agent pool databasepool has started. Either wait for deletion to finish or retry deleting that agent pool again
Code: OperationNotAllowed
Message: Cannot stop managed cluster when deletion for agent pool databasepool has started. Either wait for deletion to finish or retry deleting that agent pool again
so, looking at the state of the nodepool gave me the below output
az aks nodepool delete \
--resource-group <your-resource-group> \
--cluster-name <your-cluster-name> \
--name <nodepool-name>
output:
"Failed"
please help how can i fix this?