Note: This doc is full of snippets of official doc in order to keep it to point. This is not to be considered a documentation/guide for others. Please refer official guide. This is mere a note for CentOS CI admins based on our workflow
On the Create Operator Subscription page:
For Installed Namespace, ensure that the Operator recommended namespace option is selected. This installs the Operator in the mandatory openshift-cnv namespace, which is automatically created if it does not exist.
Select 2.3 from the list of available Update Channel options.
Click Subscribe to make the Operator available to the openshift-cnv namespace.
On the Installed Operators screen, the Status displays Succeeded when container-native virtualization finishes installation.
After subscribing to the Container-native virtualization catalog, create the CNV Operator Deployment custom resource to deploy container-native virtualization.
https://raw.githubusercontent.com/kubevirt/demo/master/manifests/vm.yaml
)oc create -f <template.yaml>
or for test purpose oc create -f https://raw.githubusercontent.com/kubevirt/demo/master/manifests/vm.yaml
oc get vm
VMs created are in state off by default. To control them from CLI, you need to install kubevirt-virtctl. Find instruction here