You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pod_name_template and pvc_name_template are configurable string templates that identify objects, e.g. with jupyter-username, but they are customizable to e.g. otherthing-username. Currently, we only use these strings to resolve resources such as pods, pvcs, etc., not the persistent, unique uid of those objects. A problem arises when a deployment might want to change these templates without destroying everything. We currently load pod_name from state, which means we should recover running pods across Hub restart with changing pod_name_template. However, changing pvc_name_template will result in orphaned user data. We should persist and restore pvc_name in state if in use like we do for pod_name, but perhaps it would be even better to persist uids instead of names?
The text was updated successfully, but these errors were encountered:
jupyterhub/dockerspawner#384 is another use-case for storing this info as state- it would allow a modified idle-culler to remove a volume without needing access to the spawner config or jupyterhub_config.py.
pod_name_template and pvc_name_template are configurable string templates that identify objects, e.g. with
jupyter-username
, but they are customizable to e.g.otherthing-username
. Currently, we only use these strings to resolve resources such as pods, pvcs, etc., not the persistent, uniqueuid
of those objects. A problem arises when a deployment might want to change these templates without destroying everything. We currently loadpod_name
from state, which means we should recover running pods across Hub restart with changing pod_name_template. However, changingpvc_name_template
will result in orphaned user data. We should persist and restorepvc_name
in state if in use like we do for pod_name, but perhaps it would be even better to persist uids instead of names?The text was updated successfully, but these errors were encountered: