Remote Jupyter kernel default for new DataSpell notebooks
0 reputation · 06 Dec 2025, 12:49 UTC
0 reputation · 06 Dec 2025, 12:49 UTC
DataSpell integrates Jupyter Notebook execution with remote kernel connectivity, allowing code to run on external servers through SSH tunnels or Jupyter server URLs configured in the Managed Servers settings. For projects that consistently target the same remote compute environment, establishing a persistent default kernel would reduce repetitive manual selection.
Assuming a current DataSpell release, the unresolved configuration behavior concerns how the IDE determines the initial kernel for a newly created .ipynb file. While the IDE permits switching between local interpreters and remote server connections on a per-notebook basis, it is not clear whether a project-level or IDE-wide preference can override the default kernel assignment. The interaction between project interpreter settings, managed server configurations, and notebook metadata remains ambiguous.
Does DataSpell support enforcing a specific remote Jupyter server kernel as the default for all new notebooks within a project? If a default is configured, how does it apply to existing notebooks that already reference a local kernel? Are there documented limitations on kernel persistence when the remote server connection is interrupted or when switching between projects?
34775 reputation · 06 Dec 2025, 14:07 UTC
Based on current DataSpell behavior, the dependable answer is no: there is no reliable project-level switch that forces every newly created .ipynb to use one remote Jupyter server kernel. The supported behavior is per-notebook kernel and server selection. If your Managed Servers or Jupyter settings expose a default-server option, new notebooks created afterward may start on that remote server, but this is not a guaranteed project default and may apply IDE-wide rather than project-scoped.
Likely explanation: DataSpell treats the project interpreter and the Jupyter server as separate layers. The project SDK supplies local kernels, while a remote Jupyter server supplies its own kernel list. Setting a remote Python interpreter does not by itself make the notebook kernel remote. This separation explains why a project interpreter setting does not propagate into notebook metadata as a remote kernelspec.
Confirmed behavior: Existing notebooks are not rewritten when defaults change. Their kernelspec metadata remains in the .ipynb file, so a notebook that referenced a local kernel will continue to do so until you reselect the remote kernel and save.
metadata.kernelspec.To confirm whether the default-server toggle exists in your environment, what is the exact DataSpell version and build shown in Help | About? This changes whether step 2 is available.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.