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
-
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
-
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. - Sign in with your AKS account credentials.
-
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.
-
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.