Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNvidiaGPUManager ¶
func RegisterWithV1Beta1Kubelet ¶
TODO: remove this function once we move to probe based registration.
Types ¶
type GPUConfig ¶
type GPUConfig struct { GPUPartitionSize string // Deprecated in favor of GPUSharingConfig. MaxTimeSharedClientsPerGPU int // GPUSharingConfig informs how GPUs on this node can be shared between containers. GPUSharingConfig GPUSharingConfig // Xid error codes that will set the node to unhealthy HealthCriticalXid []int }
GPUConfig stores the settings used to configure the GPUs on a node.
func (*GPUConfig) AddDefaultsAndValidate ¶
type GPUSharingConfig ¶
type GPUSharingConfig struct { // GPUSharingStrategy is the type of sharing strategy to enable on this node. Values are "time-sharing" or "mps". GPUSharingStrategy gpusharing.GPUSharingStrategy MaxSharedClientsPerGPU int }
Click to show internal directories.
Click to hide internal directories.