Uninstalling the server software from Azure Kubernetes Service

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

Before you begin

You must have completed the following tasks:
  • Installed HCL OneTest Server software.

  • Closed HCL OneTest Server, any open web browsers, and all other applications that are enabled by HCL OneTest Server.

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

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 the server software:
    helm uninstall {my-ots} -n test-system
    The PersistentVolumeClaims and PersistentVolumes that were created during the installation are not deleted automatically. If you reinstall the server software, the user data is reused unless you specifically delete those volumes.
    Note: You must substitute {my-ots} with the same release name that you used during the installation of the server software.
  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 the server software from the AKS cluster.