Uninstalling DevOps Test Hub from Azure Kubernetes Service

When you want to install a new version of HCL DevOps Test Hub (Test Hub) or you want to reinstall Test Hub when an ongoing installation fails, you can uninstall Test Hub and its components from the Azure Kubernetes Service (AKS) cluster.

Before you begin

You must have completed the following tasks:
  • Installed Test Hub.

  • Closed Test Hub, any open web browsers, and all other applications that are enabled by Test Hub.

  • Optional: Backed-up data from the previous version of Test Hub.

Procedure

  1. Run the following command to log in to AKS interactively:
    az login
    The command-line interface opens a browser and displays the Log-in page of AKS.
  2. Sign in with your AKS account credentials.
  3. Run the following command to uninstall Test Hub:
    helm uninstall {main} -n devops-system

    The PersistentVolumeClaims and PersistentVolumes that were created during the installation are not deleted automatically. If you reinstall Test Hub, the user data is reused unless you specifically delete those volumes.

  4. Run the following command to delete the resource group from the AKS cluster:
    az group delete -g <resource_group>

    You must replace <resource_group> with the name of the resource group that you created during the creation of the AKS cluster.

Results

You have uninstalled Test Hub from the AKS cluster.