Add longhorn storage classes
This commit is contained in:
parent
b0a532b2a2
commit
130fb8aef2
9
res/flat-sc.yaml
Normal file
9
res/flat-sc.yaml
Normal file
@ -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"
|
9
res/redundant-sc.yaml
Normal file
9
res/redundant-sc.yaml
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user