GoogleCloudPlatform / GoogleCloudPlatform/container-engine-accelerators
Request to provide Dockerfile source code for Nvidia driver installation on COS
- Dominant language
- Go
- Stars
- 252
- Forks
- 184
- Avg merge
- 1h 55m
- Merged PRs (30d)
- 2
Description
Would it be possible for repo maintainers to provide the Dockerfile and any scripts used to generate the image by this daemonset? https://github.com/GoogleCloudPlatform/container-engine-accelerators/blob/master/nvidia-driver-installer/cos/daemonset-nvidia-v450.yaml
The reason for this request is, I'd like to install a specific version (470.57.02) of Nvidia drivers on a GKE cluster running container-optimized OS with containerd. The official GKE documentation provides [this daemonset](https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/nvidia-driver-installer/cos/daemonset-preloaded.yaml), which installs an older driver version. I assume [daemonset-nvidia-v450.yaml](https://github.com/GoogleCloudPlatform/container-engine-accelerators/blob/master/nvidia-driver-installer/cos/daemonset-nvidia-v450.yaml) in this repo can be modified to install a specific driver, by changing this line to an appropriate image:
```
- image: gcr.io/cos-cloud/cos-gpu-installer@sha256:93f1abf0d6a27e14bebf43ffb00b8d819b20f6027012ad73306ba670bcac6c83
```
However, I cannot find the source code for this image, so it is not clear how I can install a different Nvidia driver version.
For example, for GKE ubuntu images, this repo provides the [Dockerfile](https://github.com/GoogleCloudPlatform/container-engine-accelerators/blob/master/nvidia-driver-installer/ubuntu/Dockerfile) and [entrypoint.sh](https://github.com/GoogleCloudPlatform/container-engine-accelerators/blob/master/nvidia-driver-installer/ubuntu/entrypoint.sh) source code. Would it be possible to share the COS equivalent?
Contributor guide
Assessment
This issue has not been assessed yet.