docs/doc/source/kube-virt/installation-66477d7646db.rst
Elaine Fonaro 43e88ca462 KubeVirt Doc changes (r8, dsr8)
- Removed command $ sudo hostname vm-cirros.
- Removed Extra "\"
- Fixed code indentation.
- Updated commands.
- Minor indentation fix.

Change-Id: I6cd3cfc37b1bcf99b06966ef307e0cba7749013d
Signed-off-by: Elaine Fonaro <elaine.fonaro@windriver.com>
2023-09-19 20:14:10 +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-<version>.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.