piraeus-operator icon indicating copy to clipboard operation
piraeus-operator copied to clipboard

doc: how to safely resize pvc ?

Open tetra12 opened this issue 1 year ago • 1 comments

Hello how do I resize an active pvc in v2.4.1 ? :eyes:

I use lvs to create lvn-thin pools for linstor on my nodes. My storage-class name is hdd-pool-dev and it uses 2 replicas.

Now I have mysql which is provided with a pvc from the hdd-pool-dev. Say pvc size is 1Gi. How do I grow and shrink the size?

Maybe documentation question, but needs to be covered :roll_eyes:

tetra12 avatar Mar 09 '24 10:03 tetra12

You resize a PVC by updating the requested size. See https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims

Note that you can only grow a PVC, shrinking is not supported.

WanzenBug avatar Mar 11 '24 07:03 WanzenBug