Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added config prePuller.pullProfileListImages #1818

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Oct 7, 2020

With a large list of images in the singleuser.profileList, users ended
up with delays caused by images being pulled for so long time that it
blocked what was actually important to pull to get started properly.

This option allows for a long singleuser.profileList with many different
images to be setup, while only pulling the default image, or optionally
those configured under prePuller.extraImages.

Closes #1393, Closes #1739 good enough


I also added a commit optimizing the order slightly, where the more likely to be used images are pulled first, in this case i determined that images in singleuser.extraContainers are far more likeley to be used than an image in a profileList

@consideRatio consideRatio force-pushed the pr/prePuller-config-to-exclude-pulling-profileList-images branch from efce54c to 68b3324 Compare October 7, 2020 05:09
With a large list of images in the singleuser.profileList, users ended
up with delays caused by images being pulled for so long time that it
blocked what was actually important to pull to get started properly.

This option allows for a long singleuser.profileList with many different
images to be setup, while only pulling the default image, or optionally
those configured under prePuller.extraImages.
It seems smarter to pull the images that are most likeley to be needed
first, and that includes singleuser.extraContainers.
@consideRatio consideRatio force-pushed the pr/prePuller-config-to-exclude-pulling-profileList-images branch from 68b3324 to fefa941 Compare October 7, 2020 05:14
@consideRatio consideRatio merged commit 8031d93 into jupyterhub:master Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jupyterhub for Kubernes: How to avoid Image Prepull on specific nodes Optionally pull the profileList images
1 participant