Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article shows you how to remove Azure Container Storage (version 1.x.x) by deleting the extension instance for Azure Kubernetes Service (AKS). Optionally, you can also delete the AKS cluster or entire resource group to clean up resources.
Important
This article explains how to remove Azure Container Storage (version 1.x.x). Azure Container Storage (version 2.x.x) is now available. If you're already using Azure Container Storage (version 2.x.x) and want to remove it, see this article.
Delete extension instance
To remove Azure Container Storage (version 1.x.x) from your AKS cluster, delete the extension by running the following Azure CLI command. Be sure to replace <cluster-name> and <resource-group> with your own values. Deleting the extension will delete any existing storage pools, which can affect any applications you're running.
az aks update -n <cluster-name> -g <resource-group> --disable-azure-container-storage all
Delete AKS cluster
To delete an AKS cluster and all persistent volumes, run the following Azure CLI command. Replace <resource-group> and <cluster-name> with your own values.
az aks delete --resource-group <resource-group> --name <cluster-name>
Delete resource group
You can also use the az group delete command to delete the resource group and all resources it contains. Replace <resource-group> with your resource group name.
az group delete --name <resource-group>