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
I think this is open as #761 with a proposed fix in #820
The hang-up I have is in how do we distinguish intended pvc name changes from those that aren't. If a deployment changes the pvc_name_template that affects existing servers which have previously launched with a pvc, should it:
keep the existing pvc (prefer state to config)
create a new pvc (prefer config to state)
a. if so, what to do with the old one?
Unfortunately, the answer is pretty clearly it depends, so the question really becomes: how do we allow deployments to express that choice in config. Then I think we can finish #820 and fix this.
Bug description
pvc_name
is expanded in__init__
, which meanspvc_name_template
can't be overridden inkubespawner_overrides
:kubespawner/kubespawner/spawner.py
Line 208 in 5ac45e9
How to reproduce
Reported in https://discourse.jupyter.org/t/creating-1-pvc-per-profile-and-per-user/31755
With Z2JH 4.1.0:
Expected behaviour
pvc_name
follows the templatepvc_name_template
if it is overriden inkubespawner_overrides
.Actual behaviour
The overridden template is ignored,
claim-{username}
is used for all profiles.Your personal set up
https://killercoda.com/manics/scenario/jupyterhub-kubernetes
The text was updated successfully, but these errors were encountered: