Adding allowVolumeEXpansion feature to storage-classes.md file (#15604)
parent
10d764adb5
commit
dc5179c1c3
|
@ -53,6 +53,7 @@ provisioner: kubernetes.io/aws-ebs
|
||||||
parameters:
|
parameters:
|
||||||
type: gp2
|
type: gp2
|
||||||
reclaimPolicy: Retain
|
reclaimPolicy: Retain
|
||||||
|
allowVolumeExpansion: true
|
||||||
mountOptions:
|
mountOptions:
|
||||||
- debug
|
- debug
|
||||||
volumeBindingMode: Immediate
|
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
|
Persistent Volumes that are created manually and managed via a storage class will have
|
||||||
whatever reclaim policy they were assigned at creation.
|
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
|
### Mount Options
|
||||||
|
|
||||||
Persistent Volumes that are dynamically created by a storage class will have the
|
Persistent Volumes that are dynamically created by a storage class will have the
|
||||||
|
|
Loading…
Reference in New Issue