To
reinstall IBM® DevOps Loop when an
ongoing installation fails, you can uninstall DevOps Loop and its components
from the Kubernetes Service (K8S)
cluster.
You must have completed the following tasks:
-
Switch to your K8S cluster by using the following command:
kubectl config use-context <context-name>
-
Run the following command to uninstall DevOps Loop:
helm uninstall $HELM_NAME -n $NAMESPACE
Where,
NAMESPACE=devops-loop
HELM_NAME=devops-loop
Note: User-specific DevContainer namespaces are not
removed automatically when DevOps Loop is uninstalled. These namespaces are
created outside of the DevOps Loop Helm release and therefore are not
deleted when the Helm release is removed.
After uninstalling DevOps Loop,
review the cluster for any DevContainer namespaces that are no longer
required and delete them
manually:
kubectl delete namespace <devcontainerNamespace>
DevContainer
namespace names are derived from the user's email address, with special
characters converted to Kubernetes-compatible character sequences. For
example, the email address xyz@example.com is converted
to the namespace xyz-40-example-2e-com.
The PersistentVolumeClaims and PersistentVolumes that were created during the
installation are not deleted automatically. If you reinstall DevOps Loop, 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
You have uninstalled DevOps Loop from
the K8S
cluster.