Progress report for pulling images and session creation #227
Labels
comp:agent
Related to Agent component
comp:client
Related to Client component
comp:manager
Related to Manager component
comp:webui
Related to WebUI component
type:feature
Add new features
Milestone
Let's add explicit progress reports when creating a new session.
For cluster sessions, multiple agents may try to pull the image at the same time,
so the pull progress should include both per-agent progress and total progress.
max_wait
seconds.kernel_pull_progress
events.AbstractAgent.pull_image()
and let the concrete implementations report the progress from the underlying backend (e.g., the docker API).kernel_pull_progress
events.FYI:
Using the following code snippet, we can keep track of the overall progress in percent:
https://gist.github.com/achimnol/11fd2b379ad186cf624307b2c7e0953f
The text was updated successfully, but these errors were encountered: