Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ spec:
properties:
enableMonitoring:
description: EnableMonitoring enables the monitoring resource ('i915_monitoring')
which gives access to all GPU devices on given node.
which gives access to all GPU devices on given node. Typically used
with Intel XPU-Manager.
type: boolean
image:
description: Image is a container image with GPU device plugin executable.
Expand All @@ -73,15 +74,16 @@ spec:
preferredAllocationPolicy:
description: PreferredAllocationPolicy sets the mode of allocating
GPU devices on a node. See documentation for detailed description
of the policies. Only valid when SharedDevNum > 1 is set.
of the policies. Only valid when SharedDevNum > 1 is set. Not applicable
with ResourceManager.
enum:
- balanced
- packed
- none
type: string
resourceManager:
description: ResourceManager handles the fractional resource management
for multi-GPU nodes
for multi-GPU nodes. Enable only for clusters with GPU Aware Scheduling.
type: boolean
sharedDevNum:
description: SharedDevNum is a number of containers that can share
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ spec:
description: Image is a container image with SGX device plugin executable.
type: string
initImage:
description: InitImage is a container image with tools (e.g., SGX
NFD source hook) installed on each node.
description: InitImage is a container image with tools (i.e., SGX
NFD source hook) installed on each node. Recommendation is to leave
this unset and prefer the SGX NodeFeatureRule instead.
type: string
logLevel:
description: LogLevel sets the plugin's log level.
Expand Down
5 changes: 3 additions & 2 deletions pkg/apis/deviceplugin/v1/gpudeviceplugin_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type GpuDevicePluginSpec struct {

// PreferredAllocationPolicy sets the mode of allocating GPU devices on a node.
// See documentation for detailed description of the policies. Only valid when SharedDevNum > 1 is set.
// Not applicable with ResourceManager.
// +kubebuilder:validation:Enum=balanced;packed;none
PreferredAllocationPolicy string `json:"preferredAllocationPolicy,omitempty"`

Expand All @@ -47,11 +48,11 @@ type GpuDevicePluginSpec struct {
// +kubebuilder:validation:Minimum=0
LogLevel int `json:"logLevel,omitempty"`

// ResourceManager handles the fractional resource management for multi-GPU nodes
// ResourceManager handles the fractional resource management for multi-GPU nodes. Enable only for clusters with GPU Aware Scheduling.
ResourceManager bool `json:"resourceManager,omitempty"`

// EnableMonitoring enables the monitoring resource ('i915_monitoring')
// which gives access to all GPU devices on given node.
// which gives access to all GPU devices on given node. Typically used with Intel XPU-Manager.
EnableMonitoring bool `json:"enableMonitoring,omitempty"`
}

Expand Down
3 changes: 2 additions & 1 deletion pkg/apis/deviceplugin/v1/sgxdeviceplugin_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ type SgxDevicePluginSpec struct {
// Image is a container image with SGX device plugin executable.
Image string `json:"image,omitempty"`

// InitImage is a container image with tools (e.g., SGX NFD source hook) installed on each node.
// InitImage is a container image with tools (i.e., SGX NFD source hook) installed on each node.
// Recommendation is to leave this unset and prefer the SGX NodeFeatureRule instead.
InitImage string `json:"initImage,omitempty"`

// EnclaveLimit is a number of containers that can share the same SGX enclave device.
Expand Down