Skip to content

Commit b1c2faf

Browse files
author
Tim Bannister
committed
Switch StorageClass example to code shortcode
1 parent 38bc76a commit b1c2faf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: storage.k8s.io/v1
2+
kind: StorageClass
3+
metadata:
4+
name: low-latency
5+
annotations:
6+
storageclass.kubernetes.io/is-default-class: "false"
7+
provisioner: csi-driver.example-vendor.example
8+
reclaimPolicy: Retain # default value is Delete
9+
allowVolumeExpansion: true
10+
mountOptions:
11+
- discard # this might enable UNMAP / TRIM at the block storage layer
12+
volumeBindingMode: WaitForFirstConsumer
13+
parameters:
14+
guaranteedReadWriteLatency: "true" # provider-specific

0 commit comments

Comments
 (0)