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