Learn KOP - Deprovision AKS Cluster - Rafay Product Documentation

Part 5: Deprovision

What Will You Do

In part 5, you will:

Watch a video of this exercise.

Deprovision AKS Cluster: Getting Started with Rafay Terraform Provider for AKS - YouTube

Assumptions

This part assumes that you have completed Part 1 of this series and have a successfully provisioned and healthy AKS cluster.

Step 1: Deprovision Cluster

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

Step 1: Deprovision Cluster with RCTL CLI

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

./rctl delete cluster <cluster-name>

Step 1: Deprovision Cluster with Terraform

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

terraform destroy

Recap

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