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
-
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
-
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 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. -
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.