@@ -32,10 +32,13 @@ Each StorageClass contains the fields `provisioner`, `parameters`, and
32
32
` reclaimPolicy ` , which are used when a PersistentVolume belonging to the
33
33
class needs to be dynamically provisioned.
34
34
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.
39
42
40
43
Administrators can specify a default StorageClass only for PVCs that don't
41
44
request any particular class to bind to: see the
@@ -46,10 +49,10 @@ for details.
46
49
apiVersion : storage.k8s.io/v1
47
50
kind : StorageClass
48
51
metadata :
49
- name : standard
50
- provisioner : kubernetes.io/aws-ebs
52
+ name : sc-name
53
+ provisioner : example.com/storage
51
54
parameters :
52
- type : gp2
55
+ pools : pool1,pool2,pool3
53
56
reclaimPolicy : Retain
54
57
allowVolumeExpansion : true
55
58
mountOptions :
0 commit comments