Switch StorageClass example to code shortcode
parent
38bc76aa4d
commit
b1c2faf984
|
@ -0,0 +1,14 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: low-latency
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: "false"
|
||||
provisioner: csi-driver.example-vendor.example
|
||||
reclaimPolicy: Retain # default value is Delete
|
||||
allowVolumeExpansion: true
|
||||
mountOptions:
|
||||
- discard # this might enable UNMAP / TRIM at the block storage layer
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
parameters:
|
||||
guaranteedReadWriteLatency: "true" # provider-specific
|
Loading…
Reference in New Issue