Uninstalling Deploy Operator
You may want to uninstall the Deploy Operator to troubleshoot an issue where the Deploy installation is not working properly, or you no longer want to use the Operator. This section describes the steps to uninstall the Digital.ai Deploy Operator.
You can uninstall the Deploy 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 xld , and then click Check Connection.
If the Infrastructure fails to connect to the server, double-click xld (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 Deploy Operator. To uninstall the CR, do the following:
- Click Environments.
- Click the vertical ellipsis next to xld-cr
- In the Undeploy xld-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 xld , and then click Undeploy.
The uninstallation process starts.
Verify the uninstallation status.
From the Infrastructure menu, click the vertical ellipsis next to xld, 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 Deploy product only.
If there is no other product installed, after uninstallation and deletion, verify the status of the Explorer.
To uninstall the Deploy 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 daideploy_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 Deploy product only.