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...") |
(No difference)
|
Revision as of 17:11, 28 May 2022
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