Add longhorn-retain storageclass
This commit is contained in:
parent
0d2ce5d06e
commit
b4ba3d0b4e
1 changed files with 15 additions and 0 deletions
15
helm/setup/longhorn/storageclass-retain.yaml
Normal file
15
helm/setup/longhorn/storageclass-retain.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
kind: StorageClass
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
metadata:
|
||||||
|
name: longhorn-retain
|
||||||
|
provisioner: driver.longhorn.io
|
||||||
|
allowVolumeExpansion: true
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
volumeBindingMode: Immediate
|
||||||
|
parameters:
|
||||||
|
numberOfReplicas: "3"
|
||||||
|
staleReplicaTimeout: "30"
|
||||||
|
fromBackup: ""
|
||||||
|
fsType: "ext4"
|
||||||
|
...
|
Loading…
Reference in a new issue