There is an open Jupyter Enhancement Proposal about parameterized kernels: https://github.com/jupyter/enhancement-proposals/pull/46. In the interim, I believe the only way to constrain resources is to launch a kernel in a container.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Kernel for notebook.ipynb appears to have died. It will restart automatically | 1 | 220 | August 9, 2024 | |
When I impose memory and CPU limits in JupyterHub the Spawner timeouts | 1 | 738 | December 11, 2021 | |
Trouble with Systemd limits working in Jupyterhub | 14 | 60 | November 13, 2024 | |
Setting Limits for Memory Usage and Byte Limits in Jupyter Server Kernels via API | 0 | 33 | January 26, 2025 | |
DockerSpawner.cpu and DockerSpawner.mem does not work | 1 | 661 | October 4, 2022 |