TECHNOLOGY

AMD GPU Operator and KubeVirt: PF/VF assignment and the scheduling boundary

In this article
THE QUICK TAKE

An advertised GPU resource is a schedulable assignment, rather than proof of complete guest readiness or application performance. PF and VF paths have different requirements.

The AMD GPU Operator integration guide for release 1.5.1 describes passing Instinct devices to KubeVirt virtual machines. It addresses discovery, driver ownership and scheduling, rather than establishing a maximum VM density or a measured inference speed. The documented prerequisite is Kubernetes 1.29.0 or later with KubeVirt installed.

Physical and virtual functions are different paths

For virtual-function passthrough, supported hardware and the AMD GIM driver provide the SR-IOV functions. The physical function remains under the partition manager, while a selected virtual function is bound to VFIO for guest assignment. The documentation supports either a prepared host driver or operator-managed delivery in the described configuration.

For physical-function passthrough, the guest receives exclusive access to the physical device. Creating virtual functions is unnecessary, so this path does not require GIM. It still requires the appropriate VFIO binding and host virtualization support. A shared name for a GPU resource does not erase this difference in what the guest receives.

Resource counts follow isolation groups

The device plugin publishes assignable resources under amd.com/gpu. In the documented virtual-function mode, the advertised count corresponds to distinct IOMMU groups. Counting visible PCI functions without those groups can therefore overstate independent assignments.

The Linux VFIO documentation explains why: device and interconnect topology can make the isolatable ownership unit larger than an individual function. The AMD guide also gives an MI210-specific XGMI hive constraint. It permits selected function counts from a hive, or the complete set across both hives, rather than arbitrary combinations. That hardware-specific restriction should not be generalized to every Instinct model.

Node mode is part of scheduling

The described plugin assumes homogeneous nodes operating in container, virtual-function passthrough or physical-function passthrough mode. It can infer the mode from the host configuration or receive an explicit selection. Node labels record that mode and relevant device information.

Consequently, a total resource count alone is insufficient to reconstruct what a scheduled job obtained. The record needs node mode, device identities, binding state and the group constraints. The Kubernetes GPU scheduling guide explains the broader distinction between advertised capacity and workload placement. A partition label is also not an independent proof of every confidentiality or availability property of a shared host.

A scheduled guest still needs acceptance

The guide explicitly warns that a scheduled, ready VirtualMachineInstance does not mean the guest has fully booted and become usable. Guest visibility and its compute driver are subsequent checks. Completing an actual representative computation establishes another boundary beyond device discovery.

The container and VM comparison helps identify which responsibilities remain with the host and which move into the guest. A useful acceptance artifact retains the versioned configuration, assigned function, guest driver and successful workload, followed by a reclaim and reuse check. Nothing in this orchestration guide alone quantifies throughput, proves arbitrary multi-device peer access or turns passthrough into a different mediated-device mechanism. Those claims require their own supported configuration and measurements.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles