piraeus-operator
piraeus-operator copied to clipboard
doc: how to safely resize pvc ?
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:
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.