opendatahub-io-contrib / jupyterhub-singleuser-profiles

MIT License
11 stars 24 forks source link

update GPU number to 0 when GPU nodes are gone #215

Closed DaoDaoNoCode closed 2 years ago

LaVLaS commented 2 years ago

@maroroman Can you review this? You can use the JH image to test quay.io/llasmith/jupyterhub-img:jsp-gpu. We just need to verify that JH will not request gpus when the user previously requested >= 1 gpu.

Test steps:

  1. Modify a JH user configMap and set the gpu value to anything >0.
  2. Spawn a notebook and confirm it spawns successfully