opendatahub-io-contrib / jupyterhub-odh

Example JupyterHub deployment using OpenShift OAuth authenticator.
16 stars 31 forks source link

Add GPU support for OCP4 #40

Closed vpavlin closed 5 years ago

vpavlin commented 5 years ago

JupyterHub now expects GPU_MODE env var (instead of GPU_PRIVILEGED) which can get 3 values

selinux configures special Nvidia selinux policy, privileged makes the pod privileged to get access to GPUs and anything else will only request the GPU and let the cluster figure out the rest.

Depends on https://github.com/vpavlin/jupyterhub-singleuser-profiles/pull/10