Compare commits

..

4 Commits

Author SHA1 Message Date
272128fe59 feat: Switched to longhorn 2025-12-05 05:28:42 +01:00
da8ac45ef2 feat: Added openebs patch 2025-12-05 05:28:41 +01:00
fe8e43fdc4 chore: Added pre-commit hooks 2025-12-05 05:28:41 +01:00
c0feadc664 fix: Increase available resourcecs 2025-12-05 05:28:25 +01:00
5 changed files with 28 additions and 2 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: 8GB

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

View File

@@ -3,9 +3,9 @@ set -euo pipefail
ROOT=$(git rev-parse --show-toplevel)
VM_NAME="talos-vm"
VCPUS="2"
VCPUS="6"
RAM_MB="16384"
DISK_GB="10"
DISK_GB="20"
NETWORK=talos
CONNECTION="qemu:///system"