docs/doc/source/kube-virt/installation-66477d7646db.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

1.6 KiB

Installation

Complete the following steps to install KubeVirt.

  1. Upload the KubeVirt system application tarball and check the KubeVirt application status:

    ~(keystone_admin)$ system application-upload /usr/local/share/application/helm/kubevirt-app-1.0-1.tgz
    
    ~(keystone_admin)$ system application-list
  2. Apply the KubeVirt system application and check the KubeVirt and status:

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

    Wait for kubevirt-app status to complete.

    $ watch -n 5 system application-list
    
    # Wait for all pods in kubevirt namespace to be Running
    $ watch -n 5 kubectl get pods -n kubevirt
    
    # Wait for all pods in cdi namespace to be Running
    $ watch -n 5 kubectl get pods -n cdi
  3. Setup 'virtctl' client executable to be accessible from sysadmin's PATH

    # Create /home/sysadmin/bin directory, if it doesn't exist already
    $ mkdir -p /home/sysadmin/bin
    
    # Create symbolic link in /home/sysadmin/bin to virtctl client executable installed on host in step 2)
    $ cd /home/sysadmin/bin
    $ ln -s /var/opt/kubevirt/virtctl-v0.53.1-linux-amd64 virtctl
    
    # Logout and log back in to ensure that /home/sysadmin/bin gets added to your PATH variable.
    $ exit
    
    login: sysadmin
    password:
    
    $ which virtctl
    /home/sysadmin/bin/virtctl

KubeVirt has been installed on the system.