docs/doc/source/kube-virt/kubevirt-removal-97cc897941bc.rst
Elisamara Aoki Goncalves 1f91cd1ee0 Update documentation for Kubevirt
Add Usage Examples sections.
Create KubeVirt Architecture section.
Fix minor editorial issues.
Fix grammar and formatting issues.

Story: 2010931
Task: 50286

Change-Id: I6118d0af848d07f3764eeae5ea8467864c65fceb
Signed-off-by: Elisamara Aoki Goncalves <elisamaraaoki.goncalves@windriver.com>
2024-09-04 22:08:20 +00:00

39 lines
880 B
ReStructuredText

.. _kubevirt-removal-97cc897941bc:
================
KubeVirt Removal
================
.. rubric:: |proc|
#. Remove all VirtualMachines, Virtual MachineInstances and Data Volumes
.. code-block:: none
$ kubectl get vm -A
$ kubectl delete vm <vm-name> -n <namespace>
$ kubectl get vmi -A
$ kubectl delete vmi <vmi-name> -n <namespace>
$ kubectl get dv -A
$ kubectl delete dv <dv-name> -n <namespace>
#. Remove KubeVirt and CDI pods and resources, and the virtctl command:
.. code-block:: none
~(keystone_admin)$ system application-remove kubevirt-app
$ rm /home/sysadmin/bin/virtctl
#. Remove the KubeVirt and CDI helm charts and application:
.. code-block:: none
~(keystone_admin)$ system application-delete kubevirt-app
.. rubric:: |result|
KubeVirt has been removed from the system.