Difference between revisions of "Pvc resize"
Jump to navigation
Jump to search
(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...") |
|||
Line 1: | Line 1: | ||
+ | https://github.com/openebs/zfs-localpv/blob/develop/docs/resize.md | ||
Latest revision as of 17:36, 28 May 2022
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