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

880 B

KubeVirt Removal

  1. Remove all VirtualMachines, Virtual MachineInstances and Data Volumes

    $ 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>
  2. Remove KubeVirt and CDI pods and resources, and the virtctl command:

    ~(keystone_admin)$ system application-remove kubevirt-app
    $ rm /home/sysadmin/bin/virtctl
  3. Remove the KubeVirt and CDI helm charts and application:

    ~(keystone_admin)$ system application-delete kubevirt-app

KubeVirt has been removed from the system.