$ oc delete apiservices v1alpha3.subresources.kubevirt.io -n openshift-cnv
You can uninstall container-native virtualization by using the OpenShift Container Platform web console.
Container-native virtualization 2.1
To uninstall container-native virtualization, you must first delete the KubeVirt HyperConverged Cluster Operator deployment custom resource.
An active KubeVirt HyperConverged Cluster Operator deployment custom resource
From the OpenShift Container Platform web console, select openshift-cnv
from
the Projects list.
Navigate to the Operators → Installed Operators page.
Click KubeVirt HyperConverged Cluster Operator.
Click the KubeVirt HyperConverged Cluster Operator deployment tab.
Click the Options menu in the row containing the hyperconverged-cluster custom resource. In the expanded menu, click Delete HyperConverged.
Click Delete in the confirmation window.
Navigate to the Workloads → Pods page to verify that only the Operator Pods are running.
Open a terminal window and clean up the remaining KubeVirt resources by running the following command:
$ oc delete apiservices v1alpha3.subresources.kubevirt.io -n openshift-cnv
Because some KubeVirt resources are currently improperly retained, you must manually remove them. These resources will be removed automatically after (BZ1712429) is resolved. |
To finish uninstalling container-native virtualization, uninstall the KubeVirt HyperConverged Cluster Operator subscription.
An active KubeVirt HyperConverged Cluster Operator catalog subscription
Navigate to the Catalog → OperatorHub page.
Locate the KubeVirt HyperConverged Cluster Operator and then select it.
Click Uninstall.
You can now delete the |
You can delete a namespace by using the OpenShift Container Platform web console.
If you do not have permissions to delete the namespace, the Delete Namespace option is not available. |
Navigate to Administration → Namespaces.
Locate the namespace that you want to delete in the list of namespaces.
On the far right side of the namespace listing, select Delete Namespace from the Options menu .
When the Delete Namespace pane opens, enter the name of the namespace that you want to delete in the field.
Click Delete.