gluster / gluster-kubernetes

GlusterFS Native Storage Service for Kubernetes
Apache License 2.0
875 stars 390 forks source link

Unable to make resize glusterfs pvc works #439

Open alvarosIGZ opened 6 years ago

alvarosIGZ commented 6 years ago

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,

jarrpa commented 6 years ago

@humblec Would know better than I. Any thoughts?

humblec commented 6 years ago

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 commented 6 years ago

/assign @humblec

shortstack commented 6 years ago

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 commented 6 years ago

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