Merge pull request #4116 from feiskyer/gpu

Update GPU docs
This commit is contained in:
Andrew Chen
2017-06-22 10:35:56 -07:00
committed by GitHub
+2 -4
View File
@@ -109,8 +109,6 @@ The API presented here **will change** in an upcoming release to better support
As of now, CUDA libraries are expected to be pre-installed on the nodes.
The NVIDIA drivers will require privileged containers due to the permissions on ``/usr/lib/nvidia-367``.
To mitigate this, you can copy the libraries to a more permissive folder in ``/var/lib/`` or change the permissions directly. (Future releases will automatically perform this operation)
Pods can access the libraries using `hostPath` volumes.
@@ -135,10 +133,10 @@ spec:
name: lib
volumes:
- hostPath:
path: /usr/lib/nvidia-367/bin
path: /usr/lib/nvidia-375/bin
name: bin
- hostPath:
path: /usr/lib/nvidia-367
path: /usr/lib/nvidia-375
name: lib
```