Edit

Share via


Uninstall extension for Edge RAG Preview, enabled by Azure Arc

This article covers how to remove the Edge RAG extension and delete the associated namespace from your cluster.

Important

Edge RAG Preview, enabled by Azure Arc is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Delete the Edge RAG Extension

Delete the extension by using Azure PowerShell or from the Azure portal.

  1. For anywhere kubectl is configured such as your devbox or personal laptop run the following code to sign in into Azure CLI and set it to the right cluster:

    az login --use-device-code --tenant <tenant ID>
    
    $sub="<Subscription GUID>"
    $resourceGroup="<Resource Group>"
    $clusterName="<Azure Kubernetes Service (AKS) Arc cluster name>"
    
    az account set -s $sub
    az aksarc get-credentials --name $clusterName --resource-group $resourceGroup --admin --only-show-errors
    
  2. Run the following command to delete the extension:

    az k8s-extension delete --cluster-name $clusterName  --cluster-type connectedClusters--resource-group $resourceGroup --name $localextname --debug --yes
    

Make sure the Edge RAG extension is successfully deleted and is no longer in the list of extensions on the cluster.

Delete the namespace

From the directory where kubectl is downloaded, run the following command to delete the namespace:

kubectl delete namespace arc-rag