From b4ba3d0b4e0e14100b2c3b0d1d74b16ef3d65df9 Mon Sep 17 00:00:00 2001 From: Amarpreet Minhas Date: Fri, 30 Dec 2022 19:24:28 +0000 Subject: [PATCH] Add longhorn-retain storageclass --- helm/setup/longhorn/storageclass-retain.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 helm/setup/longhorn/storageclass-retain.yaml diff --git a/helm/setup/longhorn/storageclass-retain.yaml b/helm/setup/longhorn/storageclass-retain.yaml new file mode 100644 index 0000000..6433885 --- /dev/null +++ b/helm/setup/longhorn/storageclass-retain.yaml @@ -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" +...