Class DeviceRuntimeSpec
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.api.deviceplugin.DeviceRuntimeSpec
- All Implemented Interfaces:
Serializable
This is a spec used to prepare and run container.
It's return value of onDeviceAllocated invoked by the framework.
For preparation, if volumeSpecs is populated then the framework will
create the volume before using the device
When running container, the envs indicates environment variable needed.
The containerRuntime indicates what Docker runtime to use.
The volume and device mounts describes key isolation requirements
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for DeviceRuntimeSpec. -
Method Summary
-
Method Details
-
getContainerRuntime
-
getEnvs
-
getVolumeMounts
-
getDeviceMounts
-
getVolumeSpecs
-