gluster-kubernetes icon indicating copy to clipboard operation
gluster-kubernetes copied to clipboard

Unable to make resize glusterfs pvc works

Open alvarosIGZ opened this issue 7 years ago • 5 comments

Hello, So I have v1.9.2 Kubernetes cluster with glusterfs. I've tried to implement this new Kubernetes feature with glusterfs https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims. Once I've set in kube-api YAML those two properties, I can deploy a SC with allowVolumeExpansion. I deploy a PVC with that SC and then I edit the PVC. No errors but the volume is not resized... Have you tested it works?

Best regards,

alvarosIGZ avatar Feb 15 '18 10:02 alvarosIGZ

@humblec Would know better than I. Any thoughts?

jarrpa avatar Feb 15 '18 17:02 jarrpa

Sure, yeah I was talking to @alvarosIGZ and trying to figure out whats going wrong here. The current status is that, we have verified all the requirements which need to be met for resize has been done in this setup and also can see the resizer respond to certain requests. However we can not see heketi receiving the expansion requests. Need to figure out why its so.. will keep updating the status here.

humblec avatar Feb 19 '18 12:02 humblec

/assign @humblec

humblec avatar Feb 19 '18 12:02 humblec

also having the same issue, openshift 3.9 with glusterfs as a storageclass, set with allowVolumeExpansion. featuregates on masters/nodes set to allow this as well. pvc's resize, but disk does not.

shortstack avatar Oct 09 '18 19:10 shortstack

resolved, apparently this is only supported by adding disks, and not expanding underlying disk

shortstack avatar Oct 16 '18 00:10 shortstack