Uninstalling DevOps Automation from Kubernetes Service (K8S)
To reinstall HCL DevOps Automation (Automation) when an ongoing installation fails, you can uninstall Automation and its components from the Kubernetes Service (K8S) cluster.
Before you begin
-
Installed Automation.
-
Closed Automation, any open web browsers, and all other applications that are enabled by Automation.
-
Optional: Backed up data from the previous version of Automation.
Procedure
-
Switch to your K8S cluster by using the following command:
kubectl config use-context <context-name> -
Run the following command to uninstall Automation:
Where,helm uninstall $HELM_NAME -n $NAMESPACENAMESPACE=devops-automation HELM_NAME=devops-automationThe PersistentVolumeClaims and PersistentVolumes that were created during the installation are not deleted automatically. If you reinstall Automation, the user data is reused unless you specifically delete those volumes.
-
Run the following command to delete everything, including the user data
contained in claims and persistent volumes:
kubectl delete namespace $NAMESPACE
