Pvc resize

From UVOO Tech Wiki
Revision as of 17:36, 28 May 2022 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://github.com/openebs/zfs-localpv/blob/develop/docs/resize.md

he simple answer you can't grow a PV if that is EBS type automatically.

If you want to grow over time use EFS PV which is NFS based. For some reason you want to stick to EBS(block-based) Then you have to create a simple script that will monitor uses and if it hit specific utilization it will update PVC claim to increase volume.
allowVolumeExpansion: true

https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims

https://cms.maximemoreillon.com/articles/567