options

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NVIDIAGPUResourceName = "nvidia.com/gpu"

	// DefaultPodResourcesEndpoint is the path to the local endpoint serving the podresources GRPC service.
	DefaultPodResourcesEndpoint       = "unix:///var/lib/kubelet/pod-resources/kubelet.sock"
	DefaultPodResourcesTimeoutConnect = 10 * time.Second
	DefaultPodResourcesMaxSize        = 1024 * 1024 * 16 // 16 Mb
	DefaultPodResourcesTimeoutList    = 5 * time.Second
	PRODUCE_MAX_ERRORCOUNT            = 4

	PodWatcher_WATCH_RECONNECT_INTERVAL = time.Second

	HostGpuInfoChecker_CheckInterval = 2 * time.Second

	CaFromSecret_CheckInterval = time.Second

	GPUPOD_ANNOTATION_TAG_Node = "nvidia-gpu-scheduler.node"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsPodResourceDSFlags

type MetricsPodResourceDSFlags struct {
	WriteConfigTo             string `mapstructure:"write-config-to" yaml:"-"`
	LocalPodResourcesEndpoint string `mapstructure:"localPodResourcesEndpoint" yaml:"localPodResourcesEndpoint,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL