feature: Adds more operational services.

This commit is contained in:
greysoh 2024-11-05 10:47:53 -05:00
parent 9f85ec639d
commit a704e75851
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
47 changed files with 1484 additions and 519 deletions

View file

@ -0,0 +1,29 @@
[meta]
format_ver = 1
[longhorn_repo]
mode = helm
[#longhorn_repo/helm]
mode = add_repo
name = longhorn
repo = https://charts.longhorn.io
[longhorn]
mode = helm
depends_on = longhorn_repo
[#longhorn/helm]
mode = install
name = longhorn
repo = longhorn/longhorn
namespace = longhorn-system
create_namespace = true
[longhorn_storage_class]
depends_on = longhorn
mode = k3s
[#longhorn_storage_class/k3s]
mode = install
yml_path = ./storage-class.yml

View file

@ -0,0 +1,11 @@
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn
provisioner: driver.longhorn.io
allowVolumeExpansion: true
parameters:
numberOfReplicas: "3"
staleReplicaTimeout: "2880" # 48 hours in minutes
fromBackup: ""
fsType: "ext4"