kubernetes/use nvidia gpu on proxmox k3s lxc.md ..
@@ 1,13 1,8 @@
-
# Use Nvidia GPU on Proxmox K3s LXC
-
-
# Proxmox Host
+
# Install Nvidia GPU on Proxmox K3s LXC
This guide pertains to installing Nvidia drivers on K3s running on a privileged LXC. Make sure that you install the same Nvidia driver version on the LXC that you installed on the Proxmox (PVE) host.
-
-
Install Nvidia drivers on the PVE host. Make note of the driver version you install you'll need to install the same version on the LXC.
-
-
-
Instructions taken from this [guide](https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE#Preparation):
+
## Installing Nvidia Drivers on the Proxmox Host
+
Make note of the driver version you install as you'll need to install the same version later on the K3s LXC. Use the following instructions to install the Nvidia driver on your Proxmox host ([Proxmox official docs](https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE#Preparation)):
Reboot your Proxmox host to load the Nvidia driver and create the udev devices.
-
Once the Nvidia devices exist you need to obtain their major device numbers (e.g. 195 and 236):
+
## Configuring the LXC
+
Once the driver is loaded and the Nvidia devices exist you need to obtain their major device numbers. Run the following on the Proxmox host to get your numbers. In my case they are 195 and 236: