vmware-archive / kubernetes-archived

This repository is archived. Please file in-tree vSphere Cloud Provider issues at https://github.com/kubernetes/kubernetes/issues . CSI Driver for vSphere is available at https://github.com/kubernetes/cloud-provider-vsphere
Apache License 2.0
46 stars 31 forks source link

resize PV based on patched PVC #168

Open ReSearchITEng opened 7 years ago

ReSearchITEng commented 7 years ago

FEATURE REQUEST for vpshere based storage: Should we patch the PVC, the disk&FS will be extended.

divyenpatel commented 7 years ago

@ReSearchITEng

Proposal for Volume Resize feature in k8s is under review - https://github.com/gnufied/community/blob/91b41028182a5291b4eccbf88f8065f66b2b7eed/contributors/design-proposals/grow-volume-size.md

We will pick up once the feature is avaialable in core k8s.

@tusharnt @BaluDontu

embano1 commented 6 years ago

Hi,

have another customer asking for this functionality. Customer is under assumption this is implemented and supported for certain providers, as stated here in column "supported in v1.8 release".

Can you please comment and clarify? Thx

divyenpatel commented 6 years ago

@embano1 This is not implemented and supported in v1.8 release. but we have APIs to perform resize and extend file system for vSphere volume.

weand commented 6 years ago

@divyenpatel It seems that expanding volumes was implemented in 1.9 for various storage backends. https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims

Kubernetes 1.8 added Alpha support for expanding persistent volumes. In v1.9, the following volume types support expanding Persistent volume claims:

  • gcePersistentDisk
  • awsElasticBlockStore
  • Cinder
  • glusterfs
  • rbd

Any idea if vsphere storage backend will also provide that feature in the near future?

shaominchen commented 6 years ago

@weand This is in our roadmap, but for now I can't give an exact timeline when this feature will be available. As of now, the workaround is to call vSphere API to resize the created volumes (virtual disks): https://github.com/vmware/pyvmomi/issues/119

kazis commented 5 years ago

@shaominchen Any updates regarding timeline when this feature will be available?

msteenhu commented 5 years ago

Wondering why this is still not available? Even not planned?

SandeepPissay commented 5 years ago

@subramanian-neelakantan This is the issue tracking the extend disk feature support for vsphere volumes.

subramanian-neelakantan commented 5 years ago

Thanks @SandeepPissay I will pick this up next.

espigle commented 5 years ago

We are also held up by a lack of this feature working currently with VCP. Is there an interim workaround in the meantime to manually extend a volume when VCP is used without having to entirely spin up a new pod and volume and copy / restore data?

Otherwise, thanks for any work to bring this feature over to k8s functionality.