Chapter 8. Uninstalling the Migration Toolkit for Virtualization
You can uninstall the Migration Toolkit for Virtualization (MTV) by using the Red Hat OpenShift web console or the command line interface (CLI).
8.1. Uninstalling MTV by using the Red Hat OpenShift web console
You can uninstall Migration Toolkit for Virtualization (MTV) by using the Red Hat OpenShift web console to delete the openshift-mtv
project and custom resource definitions (CRDs).
Prerequisites
-
You must be logged in as a user with
cluster-admin
privileges.
Procedure
-
Click Home
Projects. - Locate the openshift-mtv project.
-
On the right side of the project, select Delete Project from the Options menu
.
- In the Delete Project pane, enter the project name and click Delete.
-
Click Administration
CustomResourceDefinitions. -
Enter
forklift
in the Search field to locate the CRDs in theforklift.konveyor.io
group. -
On the right side of each CRD, select Delete CustomResourceDefinition from the Options menu
.
8.2. Uninstalling MTV from the command line interface
You can uninstall Migration Toolkit for Virtualization (MTV) from the command line interface (CLI) by deleting the openshift-mtv
project and the forklift.konveyor.io
custom resource definitions (CRDs).
Prerequisites
-
You must be logged in as a user with
cluster-admin
privileges.
Procedure
Delete the project:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc delete project openshift-mtv
$ oc delete project openshift-mtv
Delete the CRDs:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc get crd -o name | grep 'forklift' | xargs oc delete
$ oc get crd -o name | grep 'forklift' | xargs oc delete
Delete the OAuthClient:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc delete oauthclient/forklift-ui
$ oc delete oauthclient/forklift-ui