Documentation
¶
Index ¶
Constants ¶
View Source
const ( Component = "devicePlugin" // CorePlugin feature gate will report the virtual cores of the node device to kubelet. CorePlugin featuregate.Feature = "CorePlugin" // MemoryPlugin feature gate will report the virtual memory of the node device to kubelet. MemoryPlugin featuregate.Feature = "MemoryPlugin" // Reschedule feature gate will attempt to reschedule Pods that meet the criteria. Reschedule featuregate.Feature = "Reschedule" // GPUTopology feature gate will report gpu topology information to node. GPUTopology featuregate.Feature = "GPUTopology" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
KubeConfigFile string
MasterURL string
QPS float64
Burst int
NodeName string
CGroupDriver string
DeviceListStrategy string
DeviceSplitCount int
DeviceMemoryScaling float64
DeviceMemoryFactor int
DeviceCoresScaling float64
NodeConfigPath string
ExcludeDevices string
DevicePluginPath string
PprofBindPort int
GDSEnabled bool
MOFEDEnabled bool
OpenKernelModules bool
FeatureGate featuregate.MutableFeatureGate
}
func NewOptions ¶
func NewOptions() *Options
func (*Options) PrintAndExitIfRequested ¶
func (o *Options) PrintAndExitIfRequested()
Click to show internal directories.
Click to hide internal directories.