Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing Localpv hostpaths #205

Open
D1StrX opened this issue Oct 24, 2024 · 2 comments
Open

Resizing Localpv hostpaths #205

D1StrX opened this issue Oct 24, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@D1StrX
Copy link

D1StrX commented Oct 24, 2024

Describe the problem/challenge you have
While having a new storageClass with AllowVolumeExpansion: True, a storage size change of a PVC for a deployment isn't changing the size. Describing the PVC says it has the new spec, but Warning ExternalExpanding 14m volume_expand waiting for an external controller to expand this PVC

Describe the solution you'd like
Allow volume expanding with dynamic-localpv-provisioner.

Environment:

  • OpenEBS version (use kubectl get po -n openebs --show-labels): 4.1.1
  • Kubernetes version (use kubectl version): 1.30
  • Cloud provider or hardware configuration: Self-hosted
  • OS (e.g: cat /etc/os-release): Ubuntu 22.04
@avishnu avishnu added the enhancement New feature or request label Nov 28, 2024
@niladrih
Copy link
Member

Hi @D1StrX, there is no way to get the sigs k8s library that we use to support resize. You might want to follow this doc if you're using XFS/EXT4 quota: https://github.com/openebs/dynamic-localpv-provisioner/blob/develop/docs/tutorials/hostpath/xfs_quota/modify-xfs-quota.md

Ref: kubernetes-sigs/sig-storage-lib-external-provisioner#43

If you're not using filesystem quota, the PV doesn't really limit your workloads to the PVC's 'capacity' value. The only limitation to your workloads would be the capacity of the filesystem. You'd not need to change the PVC size to be able to write beyond the storage capacity.

@D1StrX
Copy link
Author

D1StrX commented Nov 28, 2024

Good to know. Not using quotas 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants