Documentation ¶
Index ¶
Constants ¶
View Source
const ( CERTDIR = `/tmp/ssl` CERT_Secret_Namespace = ServiceNamespace CERT_Secret_Name = ServiceName ServiceNamespace = `kube-system` ServiceName = `nvidia-gpu-scheduler` APIGROUP = `nvidia-gpu-scheduler` APIVERSION = `v1` RESOURCES_GPUPOD = `gpupods` RESOURCE_GPUPOD = `gpupod` KIND_GPUPOD = `GpuPod` SCHEDULE = `schedule` SCHEDULE_FILTER = `filter` SCHEDULE_PREEMPT = `preempt` SCHEDULE_PRIORITIZE = `prioritize` SCHEDULE_ANNOTATION = `nvidia-gpu-scheduler/gpu.model` RESOURCES_GPUNODE = `gpunodes` RESOURCE_GPUNODE = `gpunode` KIND_GPUNODE = `GpuNode` SchedulerRouter_Parallelism_Default = 10 //v0.2.0 NamespaceNodeLease = "nvidia-gpu-scheduler-node-lease" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsPodResourceFlags ¶
type MetricsPodResourceFlags struct { BindAddress string `mapstructure:"bind-address" yaml:"bind-address,omitempty"` BindPort int `mapstructure:"secure-port" yaml:"secure-port,omitempty"` TLSAuto bool `mapstructure:"tls-auto" yaml:"tls-autos"` TLSConfig TLSCONFIG `mapstructure:"tls-config" yaml:"tls-config,omitempty"` WriteConfigTo string `mapstructure:"write-config-to" yaml:"-"` EnableScheduler bool `mapstructure:"enable-scheduler" yaml:"enable-scheduler"` Scheduler SchedulerConfig `mapstructure:"scheduler" yaml:"scheduler"` }
type SchedulerConfig ¶
type SchedulerConfig struct {
Parallelism int `mapstructure:"parallelism" yaml:"parallelism"`
}
Click to show internal directories.
Click to hide internal directories.