package
1.0.0-beta.7
Repository: https://github.com/sylabs/singularity-cri.git
Documentation: pkg.go.dev
# Functions
NewSingularityDevicePlugin initializes and returns Singularity device plugin that allows us to access nvidia GPUs on host.
RegisterInKubelet registers Singularity device plugin that is listening on socket in kubelet.
# Variables
ErrNoGPUs is returned when device plugin is unable to detect any GPU device on the host.
ErrUnableToLoad is returned when device plugin is unable to detect loaded graphic driver on the host or unable to load NVML shared library.
# Structs
SingularityDevicePlugin is Singularity implementation of a DevicePluginServer interface that allows containers to request nvidia GPUs.