-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Jupyter Interactive Tool 1.0.1/24.07 #18861
Conversation
I just realized maybe we prefer to update the 1.0.0 tool instead since it is functionally the same (and the functional difference is why I assume 0.3 and 1.0.0 were made separate in the first place). |
Why is that, and can we avoid this ? |
@bgruening correct me if I'm wrong, but the upstream Jupyter/Julia image on which it's based starts as root and drops privileges to |
That seems like a much better idea to me, if NB_UID can't be set to 0. |
Building fully custom images? That is a lot of work to keep updated since we can't just build off the already maintained upstream images. |
Yeah, but you can't write in your PR "oh and btw put this in your job conf" and expect it'll be done without trial and error. So now we could build out an abstraction for this ... or we do the "container thing" of not dropping privileges. Surely you can overwrite that one script that drops privileges ? |
(I'd also check if |
That might work depending on the deployment, but not for root-squashed filesystems, and would make cleanup more difficult. |
I admit I'm not an admin, but aren't you always 0 in a standard container and your container engine manages the id translation ?
Are you saying the problem is not that this joyvan image is trying to be a small VM when it shouldn't ? |
You are root unless you 1. pass |
99b61c1
to
1e0f928
Compare
That is a good point, however then I would set
but I'm suggesting to just not do that, which seems feasible for this case ? Let's avoid complexity where we can, and otherwise I think we should at least have language to say "This tool requires the following environment variable to be set" |
afaik we can't without modifying the upstream container.
I presume there is a reason why they do this, people more familiar with the upstream image probably know why. I am happy to document it but we still don't really have a way for tool authors to provide documentation to admins, do we? |
@mvdbeek is there something you'd like me to do here? FWIW this is not a change from the behavior of the existing 1.x version of this tool. |
@@ -1,7 +1,10 @@ | |||
<tool id="interactive_tool_jupyter_notebook" tool_type="interactive" name="Interactive JupyterLab Notebook" version="1.0.0" profile="22.01"> | |||
<tool id="interactive_tool_jupyter_notebook" tool_type="interactive" name="Interactive JupyterLab Notebook" version="1.0.1" profile="23.0"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you copy the file ? We have no other way to version ITs at the moment.
This PR was merged without a "kind/" label, please correct. |
Note: You need to set
$NB_UID
in your job conf environment (destination) for this tool.I added
<required_files>
for running via Pulsar but this is otherwise just a version update fromtools/interactive/interactivetool_jupyter_notebook_1.0.0.xml
.How to test the changes?
License