Skip to content

Commit

Permalink
'AllowVolumeExpansion' flag enables PV resizing
Browse files Browse the repository at this point in the history
This commit allows PVs to be resized by enabling the
'AllowVolumeExpansion' flag in the StorageClass.
When this flag is set to true, users can dynamically
adjust the size of PVCs by specifying the desired
capacity in the PVC specification.

Signed-off-by: rakeshgm <[email protected]>
  • Loading branch information
rakeshgm authored and ShyamsundarR committed Sep 12, 2024
1 parent 7639f80 commit b8f5aee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/addons/rook-pool/storage-class.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ parameters:
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
csi.storage.k8s.io/fstype: ext4
reclaimPolicy: Delete
allowVolumeExpansion: true

0 comments on commit b8f5aee

Please sign in to comment.