Pvc resize

From UVOO Tech Wiki
Revision as of 17:11, 28 May 2022 by Busk (talk | contribs) (Created page with " - https://stackoverflow.com/questions/64738606/automatically-resize-grow-a-kubernetes-pvc ```T he simple answer you can't grow a PV if that is EBS type automatically. If yo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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