Using the virtctl Command-Line Tool
virtctl is the standard KubeVirt command-line client. It complements kubectl with commands that need a streaming connection or a subresource call — opening consoles, uploading and exporting images, hot-plugging disks, and triggering migrations. It ships with KubeVirt; download the binary that matches the cluster's KubeVirt version from the KubeVirt releases and place it on your PATH.
TOC
Consoles and accessUploading and exporting imagesHot-plugging disksPower and migrationEditing and sealing images with libguestfsConsoles and access
See Serial Console and Logging into the Virtual Machine using VNC.
Uploading and exporting images
See Uploading a Local Image and Creating a Virtual Machine for the full local-image upload and virtual-machine creation workflow, and Exporting Virtual Machine Images.
Hot-plugging disks
Power and migration
See Virtual Machine Live Migration and Pausing and Resuming a Virtual Machine.
Editing and sealing images with libguestfs
virtctl guestfs starts an interactive pod with the libguestfs tools attached to a PVC, so you can inspect or modify a disk image offline — for example to reset a machine ID or generalize a template before publishing it as a bootable volume: