This commit is contained in:
parent
59de075a0a
commit
8ddacfec51
28 changed files with 610 additions and 21 deletions
15
files/longhorn/longhorn-StorageClass.yaml
Normal file
15
files/longhorn/longhorn-StorageClass.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
kind: StorageClass
|
||||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: longhorn
|
||||
provisioner: driver.longhorn.io
|
||||
allowVolumeExpansion: true
|
||||
parameters:
|
||||
numberOfReplicas: "2"
|
||||
staleReplicaTimeout: "2880"
|
||||
fromBackup: ""
|
||||
# diskSelector: "ssd,fast"
|
||||
# nodeSelector: "storage,fast"
|
||||
# recurringJobs: '[{"name":"snap", "task":"snapshot", "cron":"*/1 * * * *", "retain":1},
|
||||
# {"name":"backup", "task":"backup", "cron":"*/2 * * * *", "retain":1,
|
||||
# "labels": {"interval":"2m"}}]'
|
||||
Loading…
Add table
Add a link
Reference in a new issue