|
12 | 12 | kind: StorageClass |
13 | 13 | apiVersion: storage.k8s.io/v1 |
14 | 14 | metadata: |
15 | | - name: slow |
| 15 | + name: <storage-class-name> <1> |
16 | 16 | provisioner: kubernetes.io/aws-ebs |
17 | 17 | parameters: |
18 | | - type: io1 <1> |
19 | | - iopsPerGB: "10" <2> |
20 | | - encrypted: "true" <3> |
21 | | - kmsKeyId: keyvalue <4> |
22 | | - fsType: ext4 <5> |
| 18 | + type: io1 <2> |
| 19 | + iopsPerGB: "10" <3> |
| 20 | + encrypted: "true" <4> |
| 21 | + kmsKeyId: keyvalue <5> |
| 22 | + fsType: ext4 <6> |
23 | 23 | ---- |
24 | | -<1> (required) Select from `io1`, `gp2`, `sc1`, `st1`. The default is `gp2`. |
| 24 | +<1> (required) Name of the storage class. The persistent volume claim uses this storage class for provisioning the associated persistent volumes. |
| 25 | +<2> (required) Select from `io1`, `gp2`, `sc1`, `st1`. The default is `gp2`. |
25 | 26 | See the |
26 | 27 | link:http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html[AWS documentation] |
27 | 28 | for valid Amazon Resource Name (ARN) values. |
28 | | -<2> Optional: Only for *io1* volumes. I/O operations per second per GiB. |
| 29 | +<3> Optional: Only for *io1* volumes. I/O operations per second per GiB. |
29 | 30 | The AWS volume plug-in multiplies this with the size of the requested |
30 | 31 | volume to compute IOPS of the volume. The value cap is 20,000 IOPS, which |
31 | 32 | is the maximum supported by AWS. See the |
32 | 33 | link:http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html[AWS documentation] |
33 | 34 | for further details. |
34 | | -<3> Optional: Denotes whether to encrypt the EBS volume. Valid values |
| 35 | +<4> Optional: Denotes whether to encrypt the EBS volume. Valid values |
35 | 36 | are `true` or `false`. |
36 | | -<4> Optional: The full ARN of the key to use when encrypting the volume. |
| 37 | +<5> Optional: The full ARN of the key to use when encrypting the volume. |
37 | 38 | If none is supplied, but `encypted` is set to `true`, then AWS generates a |
38 | 39 | key. See the |
39 | 40 | link:http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html[AWS documentation] |
40 | 41 | for a valid ARN value. |
41 | | -<5> Optional: File system that is created on dynamically provisioned |
| 42 | +<6> Optional: File system that is created on dynamically provisioned |
42 | 43 | volumes. This value is copied to the `fsType` field of dynamically |
43 | 44 | provisioned persistent volumes and the file system is created when the |
44 | 45 | volume is mounted for the first time. The default value is `ext4`. |
0 commit comments