Skip to content

Commit

Permalink
Adding allowVolumeEXpansion feature to storage-classes.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
savitharaghunathan committed Aug 9, 2019
1 parent 5c41bb0 commit 94c92c9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions content/en/docs/concepts/storage/storage-classes.md
Expand Up @@ -53,6 +53,7 @@ provisioner: kubernetes.io/aws-ebs
parameters:
type: gp2
reclaimPolicy: Retain
allowVolumeExpansion: true
mountOptions:
- debug
volumeBindingMode: Immediate
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 94c92c9

Please sign in to comment.