Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 907 Bytes

File metadata and controls

25 lines (13 loc) · 907 Bytes

lab-10 - Cleaning up

Estimated completion time - 10 min

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.

Goals

  • Cleanup unused resources to avoid unnecessary Azure costs

Task #1 - delete the cluster

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.

Useful links