Uninstalling Release Operator
You may want to uninstall the Release Operator to troubleshoot an issue where the Release installation is not working properly, or you no longer want to use the Operator. This section describes the steps to uninstall the Digital.ai Release Operator.
You can uninstall the Release Operator using one of the following methods:
This guide is intended for administrators with cluster administrator credentials who are responsible for application deployment.
The following are the prerequisites required to uninstall to the Deploy:
- The Kubectl tool
- The local instance of Digital.ai Deploy, or XL-CLI
Note: For the XL-CLI versions, refer to the Distribution Site
- Go to
Enter the default username and password.
The Operator configuration items (CI) are listed under Applications and Environment menu items of the Explorer tab.
To check the connection to the cluster:
From the Infrastructure menu, click the vertical ellipsis next to xlr , and then click Check Connection.
If the Infrastructure fails to connect to the server, double-click xlr (Infrastructure). The property page appears.
Verify the authentication parameters, and update the expired token, certificate, and so on. Ensure the connection check is passed before you proceed further.
Validate the resources before uninstalling the Operator. The resources must be validated after uninstallation. To validate the resources, run the following command:
oc get pods
The custom resource (CR) must be uninstalled before uninstalling the Release Operator. To uninstall the CR, do the following:
- Click Environments.
- Click the vertical ellipsis next to xlr-cr.
In the _Undeploy xlr-cr _details page, click Undeploy.
- Repeat Step 5 and Step 6 to uninstall other configuration items under Environments.
- Under Environments, click the vertical ellipsis next to xlr , and then click Undeploy.
The uninstallation process starts.
Verify the uninstallation status.
From the Infrastructure menu, click the vertical ellipsis next to xlr, and then click Delete.
Delete other infrastructure CIs only if you do not have any other infrastructure created.
Validate the resources after the uninstallation:
Run the following command to check the pods:
oc get pods
Verify the PVCs before deleting. Ensure to delete only the PVCs related to Release product only.
If there is no other product installed, after uninstallation and deletion, verify the status of the Explorer.
To uninstall the Release Operator using CLI, do the following:
Note: For all the commands below, use
oc for OpenShift and
kubectl for Kubernetes cluster.
From Artifacts folder, go to the Kubernetes directory.
To delete the Operator Manager, run:
kubectl delete –f name of cr file
kubectl delete –f dairelease_cr.yaml
To delete the Template, run:
kubectl delete –f ./template
To get a list of the PVCs, run:
kubectl get pvc
To delete PVCs, run:
kubectl delete PVC name
Note: Ensure to delete the PVCs related to Release product only.