Add fast storageclass and make it the default

main
trivernis 1 year ago
parent 83632e1aab
commit 12571647f4
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -10,5 +10,6 @@ resources:
- app/crypto-storageclass.yaml - app/crypto-storageclass.yaml
- app/hddcrypto-storageclass.yaml - app/hddcrypto-storageclass.yaml
- app/hdd-storageclass.yaml - app/hdd-storageclass.yaml
- app/fast-storageclass.yaml
- app/longhorn-sealedsecret.yaml - app/longhorn-sealedsecret.yaml
- app/route.yaml - app/route.yaml

@ -0,0 +1,17 @@
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn-fast
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: driver.longhorn.io
allowVolumeExpansion: true
reclaimPolicy: "Delete"
volumeBindingMode: Immediate
parameters:
numberOfReplicas: "2"
staleReplicaTimeout: "30"
diskSelector: ssd
fromBackup: ""
fsType: "ext4"
dataLocality: "disabled"
Loading…
Cancel
Save