This information shows you how to uninstall OpenShift® APIs for Data Protection (OADP) and Velero.
Procedure
- To uninstall OADP and Velero
that was installed by using the OpenShift
web console, do the following steps.
- Using the Red Hat® OpenShift web
console, uninstall the Velero instance in the OADP operator.
- Using the OpenShift web
console, uninstall the OADP
operator.
- Run the following command:
oc delete crd $(oc get crds | grep velero.io | awk -F ' ' '{print $1}')
- To uninstall OADP 0.2.6 and
Velero that was installed in a cluster by using the OADP source (non-OLM), such as in an air-gapped
cluster, run the following commands:
oc delete -f deploy/crds/konveyor.openshift.io_v1alpha1_velero_cr.yaml -n oadp-operator
oc delete -f deploy/crds/konveyor.openshift.io_veleros_crd.yaml -n oadp-operator
oc delete -f deploy/non-olm -n oadp-operator
oc delete crd $(oc get crds | grep velero.io | awk -F ' ' '{print $1}')