enabling applications on k8s to access specific GPUs through proper configuration.
211
base on NVIDIA Device Plugin, this image supports multi-GPU nodes. The final result allows you to have multiple GPUs on a single node, enabling applications to access specific GPUs through proper configuration.
devicePlugin:
repository: bialekamir
image: bialekamir/nvidia-k8s-device-plugin-multi-gpu
version: 0.17.0
Make sure the chart version match the docker version. example: For image v0.17.0 , the chart version should be GPU Operator v24.9.0
version: v1
flags:
migStrategy: none
sharing:
timeSlicing:
resources:
- name: "nvidia.com/rtx4090"
replicas: 5
- name: "nvidia.com/rtx3090"
replicas: 2
resources:
gpus:
- pattern: "GPU-.*4090.*" # Matches RTX 4090 GPUs
name: "nvidia.com/rtx4090"
- pattern: "GPU-.*3090.*" # Matches RTX 3090 GPUs
name: "nvidia.com/rtx3090"
docker run --rm --name nvidia-device-plugin-working --privileged --security-opt=no-new-privileges -v /var/lib/kubelet/device-plugins:/var/lib/kubelet/device-plugins -v $(pwd)/config.yaml:/config/config.yaml bialekamir/nvidia-k8s-device-plugin-multi-gpu:0.17.0 --config-file /config/config.yaml
Content type
Image
Digest
sha256:a63bc3431…
Size
176.2 MB
Last updated
almost 2 years ago
docker pull bialekamir/nvidia-k8s-device-plugin-multi-gpu:0.17.0