docs/doc/source/kube-virt/installation-66477d7646db.rst
Elaine Fonaro a0d4f366d0 Miscellaneous Updates (r8)
- created the installation-66477d7646db.rest file;
- Updated $ wget information and updated the command line.
- Updated kubevirt-app version.
- Updated step to install KubeVirt.

Signed-off-by: Elaine Fonaro <elaine.fonaro@windriver.com>
Change-Id: I01f35539076d835916bb4fc78dd59b9c05ae3dfa
2023-03-08 20:45:22 +00:00

1.8 KiB

Installation

Complete the following steps to install KubeVirt.

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

    starlingx

    ~(keystone_admin)$ system application-upload /usr/local/share/applications/helm/kubevirt-app-1.0-1.tgz
    
    ~(keystone_admin)$ system application-list

    partner

  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.