Skip to content

Commit 2d33cd9

Browse files
committedDec 3, 2024·
Change feature gate
1 parent 3ea4ee4 commit 2d33cd9

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed
 

‎README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,23 @@ control-plane CSI RPC call or via node CSI RPC call or both as a two step proces
1212

1313
This information reflects the head of this branch.
1414

15-
| Compatible with CSI Version | Container Image | [Min K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#minimum-version) | [Recommended K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#recommended-version) |
16-
| ------------------------------------------------------------------------------------------ | -------------------------------| --------------- | ------------- |
17-
| [CSI Spec v1.10.0](https://github.com/container-storage-interface/spec/releases/tag/v1.5.0) | k8s.gcr.io/sig-storage/csi-resizer | 1.16 | 1.31 |
15+
| Compatible with CSI Version | Container Image | [Min K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#minimum-version) | [Recommended K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#recommended-version) |
16+
|---------------------------------------------------------------------------------------------|------------------------------------|--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
17+
| [CSI Spec v1.10.0](https://github.com/container-storage-interface/spec/releases/tag/v1.5.0) | k8s.gcr.io/sig-storage/csi-resizer | 1.16 | 1.32 |
1818

1919
## Feature status
2020

2121
Various external-resizer releases come with different alpha / beta features.
2222

2323
The following table reflects the head of this branch.
2424

25-
| Feature | Status | Default | Description |
26-
| ---------------------- |--------| ------- | ----------------------------------------------------------------------------------------------------------------------------- |
27-
| VolumeExpansion | Stable | On | [Support for expanding CSI volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#csi-volume-expansion). |
28-
| ReadWriteOncePod | Stable | On | [Single pod access mode for PersistentVolumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes). |
29-
| VolumeAttributesClass | Beta | Off | [Volume Attributes Classes](https://kubernetes.io/docs/concepts/storage/volume-attributes-classes). |
25+
| Feature | Status | Default | Description |
26+
|-------------------------------|--------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
27+
| VolumeExpansion | Stable | On | [Support for expanding CSI volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#csi-volume-expansion). |
28+
| ReadWriteOncePod | Stable | On | [Single pod access mode for PersistentVolumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes). |
29+
| RecoverVolumeExpansionFailure | Beta | On | [Recover from volume expansion failure](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#recovering-from-failure-when-expanding-volumes) |
30+
| VolumeAttributesClass | Beta | Off | [Volume Attributes Classes](https://kubernetes.io/docs/concepts/storage/volume-attributes-classes). |
31+
3032

3133
## Usage
3234

@@ -78,12 +80,12 @@ Note that the external-resizer does not scale with more replicas. Only one exter
7880
* `AnnotateFsResize=true|false` (ALPHA - default=false): Store current size of pvc in pv's annotation, so as if pvc is deleted while expansion was pending on the node, the size of pvc can be restored to old value. This permits
7981
expansion on the node in case pvc was deleted while expansion was pending on the node (but completed in the controller). Use of this feature depends on Kubernetes version 1.21.
8082

81-
* `RecoverVolumeExpansionFailure=true|false` (ALPHA - default=false): Allow users to reduce size of PVC if expansion to current size is failing. If the feature gate `RecoverVolumeExpansionFailure` is enabled
83+
* `RecoverVolumeExpansionFailure=true|false` (BETA - default=true): Allow users to reduce size of PVC if expansion to current size is failing. If the feature gate `RecoverVolumeExpansionFailure` is enabled
8284
and expansion has failed for a PVC, you can retry expansion with a smaller size than the previously requested value. To request a new expansion attempt with a
8385
smaller proposed size, edit `.spec.resources` for that PVC and choose a value that is less than the value you previously tried.
8486
This is useful if expansion to a higher value did not succeed because of capacity constraint.
8587
If that has happened, or you suspect that it might have, you can retry expansion by specifying a
86-
size that is within the capacity limits of underlying storage provider. You can monitor status of resize operation by watching `.status.resizeStatus` and events on the PVC. Use of this feature-gate requires Kubernetes 1.31.
88+
size that is within the capacity limits of underlying storage provider. You can monitor status of resize operation by watching `.status.resizeStatus` and events on the PVC. Use of this feature-gate requires Kubernetes 1.32.
8789

8890

8991
#### Other recognized arguments

‎pkg/features/features.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const (
2828

2929
// owner: @gnufied
3030
// alpha: v1.23
31+
// beta: v1.32
3132
//
3233
// Allows users to recover from volume expansion failures
3334
RecoverVolumeExpansionFailure featuregate.Feature = "RecoverVolumeExpansionFailure"
@@ -47,6 +48,6 @@ func init() {
4748

4849
var defaultResizerFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
4950
AnnotateFsResize: {Default: false, PreRelease: featuregate.Alpha},
50-
RecoverVolumeExpansionFailure: {Default: false, PreRelease: featuregate.Alpha},
51+
RecoverVolumeExpansionFailure: {Default: true, PreRelease: featuregate.Beta},
5152
VolumeAttributesClass: {Default: false, PreRelease: featuregate.Beta},
5253
}

0 commit comments

Comments
 (0)
Please sign in to comment.