9.20.3. Schedule virtual machines
You can schedule a virtual machine (VM) on a node by ensuring that the VM’s CPU model and policy attribute are matched for compatibility with the CPU models and policy attributes supported by the node.
9.20.3.1. Scheduling virtual machines with the host model 링크 복사링크가 클립보드에 복사되었습니다!
When the CPU model for a virtual machine (VM) is set to host-model, the VM inherits the CPU model of the node where it is scheduled.
Procedure
Edit the
domainspec of your VM configuration file. The following example showshost-modelbeing specified for the virtual machine:apiVersion: kubevirt/v1alpha3 kind: VirtualMachine metadata: name: myvm spec: template: spec: domain: cpu: model: host-model-
spec.template.spec.domain.cpu.modeldefines the VM that inherits the CPU model of the node where it is scheduled.
-