Chapter 5. Uninstalling the Migration Toolkit for Virtualization
You can uninstall the Migration Toolkit for Virtualization (MTV) by using the OpenShift Container Platform web console or the command line interface (CLI).
5.1. Uninstalling MTV by using the OpenShift Container Platform web console
You can uninstall Migration Toolkit for Virtualization (MTV) by using the OpenShift Container Platform 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. -
Enter
rhmtv
in the Search field to 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 .
5.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:
$ oc delete project openshift-mtv
Delete the CRDs:
$ oc get crd -o name | grep 'forklift' | xargs oc delete
Delete the OAuthClient:
$ oc delete oauthclient/forklift-ui