Skip to content

Commit eb986f7

Browse files
Merge pull request #1 from akshayamadhuri/akshayamadhuri-patch-1
Update storage-classes.md
2 parents 7a51259 + 80f42ed commit eb986f7

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

content/en/docs/concepts/storage/storage-classes.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@ Each StorageClass contains the fields `provisioner`, `parameters`, and
3232
`reclaimPolicy`, which are used when a PersistentVolume belonging to the
3333
class needs to be dynamically provisioned.
3434

35-
The name of a StorageClass object is significant, and is how users can
36-
request a particular class. Administrators set the name and other parameters
37-
of a class when first creating StorageClass objects, and the objects cannot
38-
be updated once they are created.
35+
The name of a StorageClass object is significant, as it allows users to request a specific
36+
class for their storage needs. When administrators create StorageClass objects, they define
37+
not only the name but also other parameters, annotations, and labels to customize the behavior
38+
of the class according to different use cases. Unlike the initial statement, the objects' annotations,
39+
labels, and parameters can be updated after creation. For instance, administrators can modify the StorageClass
40+
by adding more storage pools through parameters to adapt to changing requirements and optimize resource allocation
41+
for various workloads. This flexibility allows for better management and utilization of storage resources in the Kubernetes environment.
3942

4043
Administrators can specify a default StorageClass only for PVCs that don't
4144
request any particular class to bind to: see the
@@ -46,10 +49,10 @@ for details.
4649
apiVersion: storage.k8s.io/v1
4750
kind: StorageClass
4851
metadata:
49-
name: standard
50-
provisioner: kubernetes.io/aws-ebs
52+
name: sc-name
53+
provisioner: example.com/storage
5154
parameters:
52-
type: gp2
55+
pools: pool1,pool2,pool3
5356
reclaimPolicy: Retain
5457
allowVolumeExpansion: true
5558
mountOptions:

0 commit comments

Comments
 (0)