NVIDIA / k8s-device-plugin

NVIDIA device plugin for Kubernetes
Apache License 2.0
2.65k stars 605 forks source link

Adding Windows support to the plugin, installation manifests and vendor adoption #419

Open doctorpangloss opened 1 year ago

doctorpangloss commented 1 year ago

1. Issue or feature description

The device plugin should support Windows 2019 and Windows 2022 containers (Windows Containers on Windows).

2. Steps to reproduce the issue

This feature is implemented when the daemonset distributing the k8s-device-plugin installs NVIDIA drivers using Windows hostprocess containers headlessly. In my experience, the following line is sufficient once the drivers have been extracted from the executables provided by NVIDIA:

pnputil /add-driver nv_dispsi.inf /install

3. Additional Information

You should probably use in the work from https://tensorworks.com.au/blog/bringing-full-gpu-support-to-windows-containers-in-kubernetes/ to expose DirectX APIs. In my experience, before the release of the prior software, using https://unrealcontainers.com/blog/enabling-vendor-specific-graphics-apis-in-windows-containers/, CUDA works correctly.

github-actions[bot] commented 5 months ago

This issue has become stale and will be closed automatically within 30 days if no activity is recorded.