ci: add longhorn storageclass
This commit is contained in:
parent
96a754c645
commit
8b043bc4cc
1 changed files with 26 additions and 0 deletions
26
infrastructure/longhorn/storageclass.yaml
Normal file
26
infrastructure/longhorn/storageclass.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
kind: StorageClass
|
||||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: longhorn
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: "true"
|
||||
provisioner: driver.longhorn.io
|
||||
allowVolumeExpansion: true
|
||||
reclaimPolicy: Delete
|
||||
volumeBindingMode: Immediate
|
||||
parameters:
|
||||
numberOfReplicas: "2"
|
||||
staleReplicaTimeout: "120"
|
||||
fromBackup: ""
|
||||
fsType: "ext4"
|
||||
# mkfsParams: "-I 256 -b 4096 -O ^metadata_csum,^64bit"
|
||||
# backingImage: "bi-test"
|
||||
# backingImageDataSourceType: "download"
|
||||
# backingImageDataSourceParameters: '{"url": "https://backing-image-example.s3-region.amazonaws.com/test-backing-image"}'
|
||||
# backingImageChecksum: "SHA512 checksum of the backing image"
|
||||
# unmapMarkSnapChainRemoved: "ignored"
|
||||
# diskSelector: "ssd,fast"
|
||||
# nodeSelector: "storage,fast"
|
||||
# recurringJobSelector: '[{"name":"snap-group", "isGroup":true},
|
||||
# {"name":"backup", "isGroup":false}]'
|
||||
# nfsOptions: "soft,timeo=150,retrans=3"
|
||||
Loading…
Add table
Add a link
Reference in a new issue