Resizing Storage Capacity - Z2JH

Hey all,

I’m sorry if this is a basic question, my Kubernetes chops are coming along but I’m not quite sure about this one.

I’m wondering if there’s a supported option to allow for volume resizing? For example, if I increase singleuser.storage.capacity, I would like the capacity on the PV/PVC to increase. I’ve seen that it’s possible here, but I’m not sure how that configuration maps to the config.yaml specified in the instructions.

KubeSpawner won’t modify existing storage volumes as there’s a risk of making unintentional changes, so changing the capacity in the Z2JH configuration will only affect new volumes.

If your storage provider supports it you should be able to edit the volumes directly follow the instructions that you linked to.

Alright, thanks for the info. I was able to resize a pvc manually using kubectl patch pvc, so I have a path forward.

1 Like