Delete the instance of your FTM solution
To uninstall your FTM solution, begin by deleting the instance of it.
You can use either the Red Hat® OpenShift® Container Platform user interface or the Red Hat OpenShift Container Platform command-line interface to delete the instance. After you delete the instance, you can confirm that it was deleted and do any other clean up that is needed.
Delete the instance by using the Red Hat OpenShift Container Platform user interface
The following instructions use the Red Hat OpenShift Container Platform user interface to delete the instance
of your FTM solution.
- Log in as an administrator to the cluster that you deployed your FTM solution to.
- View the installed operators on the Red Hat OpenShift Container Platform and select the operator for FTM
- Click the tab for the operator API for the FTM solution to delete. The operator API name is FTM.
- Use the overflow menu to delete the instance.
- Confirm that you want to delete the selected instance. All the resources that the operator created are deleted automatically.
Delete the instance by using the Red Hat OpenShift Container Platform command-line interface
The following instructions use the Red Hat OpenShift Container Platform command-line interface to delete the instance of your
FTM solution.
- Log in as an administrator to the cluster that you deployed your FTM solution to.
- Switch to the namespace where FTM is installed by running the following command.
Replace namespace with the name of the
namespace.
oc project namespace
- View the installed instances for FTM by running the following command.
oc get ftm
- Delete the FTM instance by running the following command. Replace
ftm_instance_name with the actual name of your FTM
instance.
oc delete ftm ftm_instance_name
Confirm and clean up after the instance is deleted
After you delete the FTM instance, use the following instructions to confirm that
the instance was deleted and do any other clean up that is needed.
- Use the Red Hat OpenShift Container Platform user interface or the Red Hat OpenShift Container Platform command-line interface
(CLI) to confirm that the instance was deleted successfully. Verify that
the pods, services, deployments, routes, config maps, and persistent volume claims are deleted. You might need
to wait several minutes for all of these resources to be deleted. The following example shows an example of
the CLI command that you can use to verify that resources are
deleted.
oc get pods, deployment, svc
- Use the Red Hat OpenShift Container Platform user interface or the Red Hat OpenShift Container Platform command-line interface to delete the persistent volumes.
- Back up any data that you want to keep and then delete the data and the network storage directory structure.