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 }
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 GPUSharingStrategy MaxSharedClientsPerGPU int }
type GPUSharingStrategy ¶
type GPUSharingStrategy string
const ( Undefined GPUSharingStrategy = "" TimeSharing GPUSharingStrategy = "time-sharing" MPS GPUSharingStrategy = "mps" )
Directories
¶
Path | Synopsis |
---|---|