feat: Switched to longhorn

This commit is contained in:
2025-12-05 05:27:49 +01:00
parent ac0d5244d3
commit 5c8cda5cc4
4 changed files with 26 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ patches:
- !patch tailscale
- !patch cilium
- !patch spegel
- !patch longhorn
- !patch longhorn-user-volume
- !patch limit-ephemeral
patchesControlPlane:
- !patch allow-control-plane-workloads
- !patch sops

View File

@@ -0,0 +1,5 @@
apiVersion: v1alpha1
kind: VolumeConfig
name: EPHEMERAL
provisioning:
maxSize: 30GB

View File

@@ -0,0 +1,8 @@
apiVersion: v1alpha1
kind: UserVolumeConfig
name: longhorn
provisioning:
diskSelector:
match: system_disk
grow: true
maxSize: 2000GB

10
patches/longhorn.yaml Normal file
View File

@@ -0,0 +1,10 @@
machine:
kubelet:
extraMounts:
- destination: /var/lib/longhorn
type: bind
source: /var/lib/longhorn
options:
- bind
- rshared
- rw