To avoid Azure charges, you should clean up unneeded resources. When the cluster is no longer needed, use the az group delete command to remove the ACR, AKS, resource group and all related resources.
- Cleanup unused resources to avoid unnecessary Azure costs
Since all resource used by the cluster and cluster itself were provisioned under the same resource group, the simplest way to cleanup is to delete resource group itself.
az group delete -n iac-aks-ws1-rg --yes --no-wait
Since estimated time for this operation to be completed is 5-10 min, you can use --no-wait
flag to not wait for the long-running operation to finish.