Install NVIDIA Container Runtime Support(Optional)
Install the nvidia-container package repository on the node by following the instructions at: https://nvidia.github.io/libnvidia-container/
Install the nvidia container runtime packages. For example: apt install -y nvidia-container-runtime cuda-drivers-fabricmanager-515 nvidia-headless-515-server
Install K3s, or restart it if already installed: curl -ksL get.k3s.io | sh -
Confirm that the nvidia container runtime has been found by k3s: grep nvidia /var/lib/rancher/k3s/agent/etc/containerd/config.toml
Install nvidia device plugin
Last updated