Skip to content

Commit dc84936

Browse files
committed
add blog for Retroactive Default StorageClass move to GA
1 parent 8ed514a commit dc84936

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: blog
3+
title: "Kubernetes v1.28: Retroactive Default StorageClass move to GA"
4+
date: 2023-08-18
5+
slug: retroactive-default-storage-class-ga
6+
---
7+
8+
**Author:** Roman Bednář (Red Hat)
9+
10+
Announcing graduation to General Availability (GA) - Retroactive Default StorageClass Assignment in Kubernetes v1.28!
11+
12+
Kubernetes SIG Storage team is thrilled to announce that the "Retroactive Default StorageClass Assignment" feature,
13+
introduced as an alpha in Kubernetes v1.25, has now graduated to GA and is officially part of the Kubernetes v1.28 release.
14+
This enhancement brings a significant improvement to how default
15+
[StorageClasses](/docs/concepts/storage/storage-classes/) are assigned to PersistentVolumeClaims (PVCs).
16+
17+
With this feature enabled, you no longer need to create a default StorageClass first and then a PVC to assign the class.
18+
Instead, any PVCs without a StorageClass assigned will now be retroactively updated to include the default StorageClass.
19+
This enhancement ensures that PVCs no longer get stuck in an unbound state, and storage provisioning works seamlessly,
20+
even when a default StorageClass is not defined at the time of PVC creation.
21+
22+
## What changed?
23+
24+
The PersistentVolume (PV) controller has been modified to automatically assign a default StorageClass to any unbound
25+
PersistentVolumeClaim with the `storageClassName` not set. Additionally, the PersistentVolumeClaim
26+
admission validation mechanism within
27+
the API server has been adjusted to allow changing values from an unset state to an actual StorageClass name.
28+
29+
## How to use it?
30+
31+
As this feature has graduated to GA, there's no need to enable a feature gate anymore.
32+
Simply make sure you are running Kubernetes v1.28 or later, and the feature will be available for use.
33+
34+
For more details, read about
35+
[default StorageClass assignment](/docs/concepts/storage/persistent-volumes/#retroactive-default-storageclass-assignment) in the Kubernetes documentation.
36+
You can also read the previous [blog post](/blog/2023/01/05/retroactive-default-storage-class/) announcing beta graduation in v1.26.
37+
38+
To provide feedback, join our [Kubernetes Storage Special-Interest-Group](https://github.com/kubernetes/community/tree/master/sig-storage) (SIG)
39+
or participate in discussions on our [public Slack channel](https://app.slack.com/client/T09NY5SBT/C09QZFCE5).

0 commit comments

Comments
 (0)