docs/doc/source/kube-virt/removal-97cc897941bc.rst
Ron Stone cf755b146c KubeVirt/CDI introduction
Inital draft guide for KubeVirt introduction
Conditionalize version
Implement patchset 2 review changes
Implement patchset 3 review changes
Resolve merge conflict
Implement patchset 4 review changes

Story: 2010466

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I57a16fca9b78992b249a1aa04e6b12893c94fe9f
2022-12-16 19:32:48 -05:00

844 B

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.