Does OpenEBS LocalPV HostPath support allowVolumeExpansion? #3672
-
Does OpenEBS LocalPV HostPath support allowVolumeExpansion |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @jinteng123. LocalPV Hostpath mounts a path on the host node. It does not set bounds on the 'volume'. In fact, there is no clearly defined 'volume' when it comes to hostpath volumes. The size of the disk/device/filesystem is the only real limit for hostpath volumes. The localpv provisioner uses the https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner library. It is not a CSI driver. So it does not have interfaces for resize/explansion. It will be a lot of work to add this feature to the provisioner, and this is not in the project's scope. |
Beta Was this translation helpful? Give feedback.
Hi @jinteng123. LocalPV Hostpath mounts a path on the host node. It does not set bounds on the 'volume'. In fact, there is no clearly defined 'volume' when it comes to hostpath volumes. The size of the disk/device/filesystem is the only real limit for hostpath volumes.
The localpv provisioner uses the https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner library. It is not a CSI driver. So it does not have interfaces for resize/explansion. It will be a lot of work to add this feature to the provisioner, and this is not in the project's scope.