The Onload Device Plugin implements the Kubernetes Device Plugin API to expose a Kubernetes Resource named
amd.com/onload.
It is distributed as the container image onload-device-plugin. The image location is configured as an environment
variable within the Onload Operator deployment (see
Local Onload Operator Images in Restricted Networks) and its ImagePullPolicy as part of
Onload Custom Resource (CR) along with its other customization
properties..
The Onload Operator manages an Onload Device Plugin DaemonSet which deploys, to each node selected for acceleration, a pod consisting of three containers:
- Init (
initcontainer,onload-userimage) - For copying Onload files to host filesystem and Onload Worker volume
-
Onload Worker (
onload-workercontainer,onload-device-pluginimage) - Provides Onload Control Plane environment, privileged access to network namespaces.
-
Onload Device Plugin
(
device-plugincontainer,onload-device-pluginimage) - For Kubernetes Device Plugin API, privileged access to Kubernetes API.