SwissDataScienceCenter / amalthea

A kubernetes operator for spawning and exposing jupyter servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make user server EmptyDir size limits optional

olevski opened this issue · comments

When PVCs are not used for a user session, then the requested disk size is set as the sizeLimit parameter for an emptyDir.

K8s then immediately evicts the user session when more than the allowed space is consumed by the session. Therefore to improve the UX it is a good idea to have the option (preferrably in the helm chart) that would allow someone to deploy Amalthea and not use PVCs but then also to not include the sizeLimit property so that user sessions are not evicted.

Another way to address this is not necessarily purely through the helm chart but also through the jupyterServer crd.