diff --git a/res/flat-sc.yaml b/res/flat-sc.yaml new file mode 100644 index 0000000..faffe0c --- /dev/null +++ b/res/flat-sc.yaml @@ -0,0 +1,9 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: flat-storage-class +provisioner: driver.longhorn.io +allowVolumeExpansion: true +parameters: + numberOfReplicas: '1' + staleReplicaTimeout: "2880" diff --git a/res/redundant-sc.yaml b/res/redundant-sc.yaml new file mode 100644 index 0000000..27006a0 --- /dev/null +++ b/res/redundant-sc.yaml @@ -0,0 +1,9 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: redundant-storage-class +provisioner: driver.longhorn.io +allowVolumeExpansion: true +parameters: + numberOfReplicas: '3' + staleReplicaTimeout: "2880"