opendatahub-io-contrib / jupyterhub-odh

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

JH Images don't spawn when PVC is near full #139

Open Shreyanand opened 2 years ago

Shreyanand commented 2 years ago

Describe the bug When the jh images are pulled in an env where the PVC is almost full, the pip install command that installs the image's dependencies leads to no space left on device and causes a crash loop error. There should be a better way to deal with this situation.

To Reproduce Steps to reproduce the behavior:

  1. Go to your jh instance and fill up your pvc, shut it down
  2. Spawn the pvc again with an image that requires pip installs
  3. See error

Expected behavior There should either be a warning before I shut my instance that says that I should delete my pvc contents or a minimal env should be spawned when I have no space left so that I can delete contents.

Screenshots Screenshot from 2022-07-26 09-59-53