automatically start jupyter notebook with API call?
Hi, when i make a new pod via the web ui i can check the box 'start jupyter notebook' and it will start that up. Is there a way to pass this to the api when i hit rest.runpod.io/v1/pods to create a new pod?
14 Replies
(throws voice) Wow great question nick
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
eh thats a good idea, but it doesnt work. env variables are empty

Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
i mean i guess...
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
@nick did you get this to work? I'm curious, are you trying to bypass the Runpod webui via API in the command line?
i just have a workflow where i very regularly spin up the exact same gpu in the same region with the same container sizes and am sick of accidentally forgetting to click some checkbox in the web ui
like every time i train a model i want to grab an a40 from eu-se-1, train it, eval, then shut it down
tbh i imagine this is pretty common
i only want to do eu-se-1 because the canadian data center with the a40's still has a lot of issues, especially with multi gpu setups
which is a separate issue but its whatever
sorry i just realized you arent runpod staff. no i havent gotten it to work lol
I think we are trying to achieve the same thing. Im using Runpod for ComfyUI, and I need the same networkvolume, region, GPU, image. I can get it running via API, but Jupytyer never boots up.
🤷 idk they just dont expose it i think
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
I'm using runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04 as the pod template. Is the "Start Jupyter Notebook" option not a part of this image?

Did you guys ever found a solution??
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View