Write a marco which will shut down all of the notebook kernels on a instance
Hello,
Im reading in the documentation that it is possible to write some sort of macro which will shut down notebook kernels on an instance
https://doc.dataiku.com/dss/latest/operations/processes.html
"Administrators can also automatically kill Jupyter kernels that have been left alive for too long using a dedicated macro"
Does anyone out there have an example of how to do this?
Thanks,
Craig
Operating system used: Windows
Best Answer
-
yes you can,
1 Create a scenario and schedule.
2 add a execute macro step.
3 select the kill jupyter sessions macro.
4 configure as desired.
Answers
-
Hi,
Look into the Macros section of your Project, you should see one called "Kill Jupyter sessions" in the "Resource management" section.
Hope this helps!
Best,
Harizo
-
Thanks Harizo - Is there a way to do this on a schedule? Like can you set it up as a custom scenario or something?
Thanks,
CJ
-
brilliant!