NVIDIA / k8s-dra-driver

Dynamic Resource Allocation (DRA) for NVIDIA GPUs in Kubernetes
Apache License 2.0
238 stars 43 forks source link

Update logic to set environment for calls out to nvidia-smi #119

Closed yuanchen8911 closed 4 months ago

yuanchen8911 commented 4 months ago

Previously, we were setting the envvars needed for nvidia-smi in the plugin's environment itself. This caused errors, however, when shelling out to other binaries that didn't need these envvars set.

This change pushes the setting of the envvars into the actual exec call for nvidia-smi instead of setting them in the plugin's environment itself.

Closes #106

Bump golangci/golangci-lint-action from 4 to 6

Bumps golangci/golangci-lint-action from 4 to 6.


updated-dependencies:

Add a demo svg file showing the baisc DRA use

Update demo

Adjust demo svg format

Update svg format

Update the description of demo.

update

Update tje demo svg description

Update the svg demo

Remove duplicated info.

Clean up

Add hostPID to MPS daemon template

Without this, the MPS server was not able to find it's own PID via /proc/self and was failing to start. It's unclear why this wasn't needed previously, but it makes sense why adding hostPID would solve this.

Add basic examples for Linux workstations

Update README

Update README

Update README

Update README

Update README

Update README

Update README

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update README

Update README

Update README

Update README.md

Remove the timeslicing example

Add restartPolicy to examples

Update demo files