Commit 0ca852

2024-10-16 14:51:15 admin: update description
kubernetes/use nvidia gpu on proxmox k3s lxc.md ..
@@ 1,5 1,5 @@
# 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.
+ Guide for installing Nvidia drivers on a Proxmox privileged LXC to enable their use in K3s pods.
## 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)):
@@ 41,14 41,9 @@
cr--r--r-- 1 root root 239, 2 Sep 27 19:40 nvidia-cap2
```
- Next you must add to following to the LXC config changing your device numbers as needed:
-
- Edit:
- `/etc/pve/lxc/<lxc_id>.conf`
-
-
- Add:
+ Next you must add to following to the LXC config changing your device numbers as needed.
+ Edit: `/etc/pve/lxc/<lxc_id>.conf`
```
mp1: /usr/lib/modules,mp=/usr/lib/modules
lxc.cgroup2.devices.allow: c 195:* rw
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9