consts

package
v1.8.3-0...-69ba9c3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Note: if a different logger is used than zap (operator-sdk default), these values would probably need to change.
	LogLevelError = iota - 2
	LogLevelWarning
	LogLevelInfo
	LogLevelDebug
)
View Source
const (
	StateLabel      = "nvidia.com/gpu-operator.state"
	GPUPresentLabel = "nvidia.com/gpu.present"

	// Docker runtime
	Docker = "docker"
	// CRIO runtime
	CRIO = "crio"
	// Containerd runtime
	Containerd = "containerd"

	// OpenshiftNamespace indicates the main namespace of an  Openshift cluster
	OpenshiftNamespace = "openshift"

	OcpDriverToolkitVersionLabel        = "openshift.driver-toolkit.rhcos"
	OcpDriverToolkitIdentificationLabel = "openshift.driver-toolkit"
	NfdOSTreeVersionLabelKey            = "feature.node.kubernetes.io/system-os_release.OSTREE_VERSION"

	// NvidiaAnnotationHashKey indicates annotation name for last applied hash by gpu-operator
	NvidiaAnnotationHashKey = "nvidia.com/last-applied-hash"

	// VGPULicensingConfigMountPath indicates target mount path for vGPU licensing configuration file
	VGPULicensingConfigMountPath = "/drivers/gridd.conf"
	// VGPULicensingFileName is the vGPU licensing configuration filename
	VGPULicensingFileName = "gridd.conf"
	// NLSClientTokenMountPath indicates the target mount path for NLS client config token file (.tok)
	NLSClientTokenMountPath = "/drivers/ClientConfigToken/client_configuration_token.tok"
	// NLSClientTokenFileName is the NLS client config token filename
	NLSClientTokenFileName = "client_configuration_token.tok"
	// VGPUTopologyConfigMountPath indicates target mount path for vGPU topology daemon configuration file
	VGPUTopologyConfigMountPath = "/etc/nvidia/nvidia-topologyd.conf"
	// VGPUTopologyConfigFileName is the vGPU topology daemon configuration filename
	VGPUTopologyConfigFileName = "nvidia-topologyd.conf"

	// NVIDIADriverControllerIndexKey provides quick lookups for DaemonSets owned by an NVIDIADriver instance
	NVIDIADriverControllerIndexKey = "metadata.nvidiadriver.controller"

	// MinimumGDSVersionForOpenRM indicates the minimum GDS version that is supported only with OpenRM driver
	MinimumGDSVersionForOpenRM = "v2.17.5"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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