Skip to content

Part 4: Deprovision

This is Part 4 of a multi-part, self-paced quick start exercise.


What Will You Do

In this guide, you will deprovision the AKS cluster and all associated infrastructure in Azure using the web console or the RCTL CLI.


Step 1: Deprovision Cluster

In this step, we will deprovision the AKS cluster through the web conole. The controller will cleanup all cluster components in your Azure account.

  • Go to Infrastructure -> Clusters.
  • Click on the settings icon of the cluster and select "Delete"
  • When prompted, select "yes" to confirm the deletion of the cluster

Cluster Delete

  • The cluster provision status will show " INFRA DELETION IN PROGRESS". Note, it can take approximately 20 minutes for the deletion to finish

Cluster Delete

  • Once the deletion is complete, the cluster will be removed from the web console

Cluster Delete


Step 1: Deprovision Cluster

In this step, we will deprovision the AKS cluster with the RCTL CLI. The controller will cleanup all cluster components in your Azure account.

  • Execute the following command to begin deprovisioning the cluster. Note, update the cluster-name in the below command with the name of your cluster.
./rctl delete cluster <cluster-name>
  • The cluster provision status will show " INFRA DELETION IN PROGRESS". Note, it can take approximately 20 minutes for the deletion to finish

Cluster Delete

  • Once the deletion is complete, the cluster will be removed from the web console

Cluster Delete


Recap

Congratulations! At this point, you have successfully deprovisioned the AKS cluster and all associated infrastructure components in your Azure account.