Skip to content

Commit 93bdfe8

Browse files
committed
Move all volume expansion feature gates to GA
1 parent 69312dd commit 93bdfe8

File tree

3 files changed

+15
-21
lines changed

3 files changed

+15
-21
lines changed

content/en/docs/concepts/storage/persistent-volumes.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,18 +284,13 @@ FlexVolumes (deprecated since Kubernetes v1.23) allow resize if the driver is co
284284

285285
#### Resizing an in-use PersistentVolumeClaim
286286

287-
{{< feature-state for_k8s_version="v1.15" state="beta" >}}
288-
289-
{{< note >}}
290-
Expanding in-use PVCs is available as beta since Kubernetes 1.15, and as alpha since 1.11. The `ExpandInUsePersistentVolumes` feature must be enabled, which is the case automatically for many clusters for beta features. Refer to the [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) documentation for more information.
291-
{{< /note >}}
287+
{{< feature-state for_k8s_version="v1.24" state="stable" >}}
292288

293289
In this case, you don't need to delete and recreate a Pod or deployment that is using an existing PVC.
294290
Any in-use PVC automatically becomes available to its Pod as soon as its file system has been expanded.
295291
This feature has no effect on PVCs that are not in use by a Pod or deployment. You must create a Pod that
296292
uses the PVC before the expansion can complete.
297293

298-
299294
Similar to other volume types - FlexVolume volumes can also be expanded when in-use by a Pod.
300295

301296
{{< note >}}
@@ -329,7 +324,7 @@ If expanding underlying storage fails, the cluster administrator can manually re
329324
Recovery from failing PVC expansion by users is available as an alpha feature since Kubernetes 1.23. The `RecoverVolumeExpansionFailure` feature must be enabled for this feature to work. Refer to the [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) documentation for more information.
330325
{{< /note >}}
331326

332-
If the feature gates `ExpandPersistentVolumes` and `RecoverVolumeExpansionFailure` are both
327+
If the feature gates `RecoverVolumeExpansionFailure` is
333328
enabled in your cluster, and expansion has failed for a PVC, you can retry expansion with a
334329
smaller size than the previously requested value. To request a new expansion attempt with a
335330
smaller proposed size, edit `.spec.resources` for that PVC and choose a value that is less than the

content/en/docs/reference/access-authn-authz/admission-controllers.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -580,16 +580,12 @@ subresource of the referenced *owner* can change it.
580580

581581
### PersistentVolumeClaimResize {#persistentvolumeclaimresize}
582582

583-
This admission controller implements additional validations for checking incoming `PersistentVolumeClaim` resize requests.
583+
{{< feature-state for_k8s_version="v1.24" state="stable" >}}
584584

585-
{{< note >}}
586-
Support for volume resizing is available as a beta feature. As a cluster administrator,
587-
you must ensure that the feature gate `ExpandPersistentVolumes` is set
588-
to `true` to enable resizing.
589-
{{< /note >}}
585+
This admission controller implements additional validations for checking incoming `PersistentVolumeClaim` resize requests.
590586

591-
After enabling the `ExpandPersistentVolumes` feature gate, enabling the `PersistentVolumeClaimResize` admission
592-
controller is recommended, too. This admission controller prevents resizing of all claims by default unless a claim's `StorageClass`
587+
Enabling the `PersistentVolumeClaimResize` admission controller is recommended.
588+
This admission controller prevents resizing of all claims by default unless a claim's `StorageClass`
593589
explicitly enables resizing by setting `allowVolumeExpansion` to `true`.
594590

595591
For example: all `PersistentVolumeClaim`s created from the following `StorageClass` support volume expansion:

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,7 @@ different Kubernetes components.
110110
| `EndpointSliceTerminatingCondition` | `true` | Beta | 1.22 | |
111111
| `EphemeralContainers` | `false` | Alpha | 1.16 | 1.22 |
112112
| `EphemeralContainers` | `true` | Beta | 1.23 | |
113-
| `ExpandCSIVolumes` | `false` | Alpha | 1.14 | 1.15 |
114-
| `ExpandCSIVolumes` | `true` | Beta | 1.16 | |
115113
| `ExpandedDNSConfig` | `false` | Alpha | 1.22 | |
116-
| `ExpandInUsePersistentVolumes` | `false` | Alpha | 1.11 | 1.14 |
117-
| `ExpandInUsePersistentVolumes` | `true` | Beta | 1.15 | |
118-
| `ExpandPersistentVolumes` | `false` | Alpha | 1.8 | 1.10 |
119-
| `ExpandPersistentVolumes` | `true` | Beta | 1.11 | |
120114
| `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | |
121115
| `GracefulNodeShutdown` | `false` | Alpha | 1.20 | 1.20 |
122116
| `GracefulNodeShutdown` | `true` | Beta | 1.21 | |
@@ -330,6 +324,15 @@ different Kubernetes components.
330324
| `EvenPodsSpread` | `true` | Beta | 1.18 | 1.18 |
331325
| `EvenPodsSpread` | `true` | GA | 1.19 | - |
332326
| `ExecProbeTimeout` | `true` | GA | 1.20 | - |
327+
| `ExpandCSIVolumes` | `false` | Alpha | 1.14 | 1.15 |
328+
| `ExpandCSIVolumes` | `true` | Beta | 1.16 | 1.23 |
329+
| `ExpandCSIVolumes` | `true` | GA | 1.24 | - |
330+
| `ExpandInUsePersistentVolumes` | `false` | Alpha | 1.11 | 1.14 |
331+
| `ExpandInUsePersistentVolumes` | `true` | Beta | 1.15 | 1.23 |
332+
| `ExpandInUsePersistentVolumes` | `true` | GA | 1.24 | - |
333+
| `ExpandPersistentVolumes` | `false` | Alpha | 1.8 | 1.10 |
334+
| `ExpandPersistentVolumes` | `true` | Beta | 1.11 | 1.23 |
335+
| `ExpandPersistentVolumes` | `true` | GA | 1.24 |- |
333336
| `ExperimentalCriticalPodAnnotation` | `false` | Alpha | 1.5 | 1.12 |
334337
| `ExperimentalCriticalPodAnnotation` | `false` | Deprecated | 1.13 | - |
335338
| `ExternalPolicyForExternalIP` | `true` | GA | 1.18 | - |

0 commit comments

Comments
 (0)