From dc5179c1c3b2817df5526a9cf863b326da7dd4bf Mon Sep 17 00:00:00 2001 From: savitharaghunathan Date: Tue, 3 Sep 2019 10:16:29 -0400 Subject: [PATCH] Adding allowVolumeEXpansion feature to storage-classes.md file (#15604) --- .../docs/concepts/storage/storage-classes.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/content/en/docs/concepts/storage/storage-classes.md b/content/en/docs/concepts/storage/storage-classes.md index a8def3012b..9e3a254a20 100644 --- a/content/en/docs/concepts/storage/storage-classes.md +++ b/content/en/docs/concepts/storage/storage-classes.md @@ -53,6 +53,7 @@ provisioner: kubernetes.io/aws-ebs parameters: type: gp2 reclaimPolicy: Retain +allowVolumeExpansion: true mountOptions: - debug volumeBindingMode: Immediate @@ -110,6 +111,31 @@ either `Delete` or `Retain`. If no `reclaimPolicy` is specified when a Persistent Volumes that are created manually and managed via a storage class will have whatever reclaim policy they were assigned at creation. +### Allow Volume Expansion + +{{< feature-state for_k8s_version="v1.11" state="beta" >}} + +Persistent Volumes can be configured to be expandable. This feature when set to `true`, +allows the users to resize the volume by editing the corresponding PVC object. + +The following types of volumes support volume expansion, when the underlying +Storage Class has the field `allowVolumeExpansion` set to true. + +* gcePersistentDisk +* awsElasticBlockStore +* Cinder +* glusterfs +* rbd +* Azure File +* Azure Disk +* Portworx +* FlexVolumes +* CSI {{< feature-state for_k8s_version="v1.14" state="alpha" >}} + +{{< note >}} +This feature cannot be used to shrink volumes. +{{< /note >}} + ### Mount Options Persistent Volumes that are dynamically created by a storage class will have the