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.
Click to show internal directories.
Click to hide internal directories.