Home > Communication Service Provider Solutions > Telecom Multicloud Foundation > Red Hat > Guides > Red Hat Open Shift Container Platform Guides > Deployment Guide: Red Hat OpenShift Container Platform Reference Architecture for Telecom > Prerequisites for using OpenShift Virtualization
Before creating a VM using OpenShift Virtualization, ensure that:
Note: Skip this section if adding an SR-IOV network interface is not a requirement for your environment.
By default, VMs created using OpenShift virtualization have a default interface using the POD network specified in install-config.yaml file (see Defining a cluster CNII ).
[core@csah-pri virtualization]$ oc label node com-1.demo.lab feature.node.kubernetes.io/network-sriov.capable=true
[core@csah-pri virtualization]$ oc create -f <YAML file>
Notes:
Dell Technologies recommends using a common network interface across all compute nodes for greater flexibility in scheduling VMs to nodes. The device specified as rootDevices must exist in all compute nodes. All compute nodes reboot one at a time to reflect the changes made.
When creating SriovNetworkNodePolicies that VMs will use, the vfio-pci driver must be used. The netdevice driver is not supported for use with VMs.
[core@csah-pri virtualization]$ oc create -f <YAML file>
The SR-IOV network is created in the specified networkNamespace. In the sample file, vm-home is the namespace. The VM is also created in the vm-home namespace.
When a new VM is created, assign a volume. As part of this example, OpenShift Data Foundation storage is used to assign a PVC to the VM.
A prerequisite for storage is that OpenShift Data Foundation is set up and configured. For more information, see OpenShift Data Foundation.
[core@csah-pri ocs]$ oc create -f <YAML file>
[core@csah-pri ocs]$ oc get pvc