diff --git a/longhorn/helm-values/longhorn.yaml b/longhorn/helm-values/longhorn.yaml index 7a05922..3499bb8 100644 --- a/longhorn/helm-values/longhorn.yaml +++ b/longhorn/helm-values/longhorn.yaml @@ -16,7 +16,7 @@ persistence: defaultSettings: # Storage defaultReplicaCount: 3 # Default number of replicas for volumes - defaultDataPath: /var/lib/longhorn # Data storage path on nodes + defaultDataPath: /mnt/longhorn-storage # Data storage path on nodes (NEW: dedicated 50GB disks) # Backup settings backupTarget: "" # S3/NFS backup target (configure later if needed) diff --git a/longhorn/kustomization.yaml b/longhorn/kustomization.yaml index dc0b675..0953ada 100644 --- a/longhorn/kustomization.yaml +++ b/longhorn/kustomization.yaml @@ -5,3 +5,6 @@ namespace: longhorn-system resources: - ingress/longhorn-ingress.yaml + - nodes/mayne-vcn.yaml + - nodes/mayne-worker-1.yaml + - nodes/mayne-worker-2.yaml diff --git a/longhorn/nodes/mayne-vcn.yaml b/longhorn/nodes/mayne-vcn.yaml new file mode 100644 index 0000000..dbacd9e --- /dev/null +++ b/longhorn/nodes/mayne-vcn.yaml @@ -0,0 +1,21 @@ +apiVersion: longhorn.io/v1beta2 +kind: Node +metadata: + name: mayne-vcn + namespace: longhorn-system +spec: + disks: + default-disk: + allowScheduling: false + diskType: filesystem + evictionRequested: true + path: /var/lib/longhorn + storageReserved: 10737418240 + tags: [] + new-disk: + allowScheduling: true + diskType: filesystem + evictionRequested: false + path: /mnt/longhorn-storage + storageReserved: 5368709120 + tags: [] diff --git a/longhorn/nodes/mayne-worker-1.yaml b/longhorn/nodes/mayne-worker-1.yaml new file mode 100644 index 0000000..b5d901d --- /dev/null +++ b/longhorn/nodes/mayne-worker-1.yaml @@ -0,0 +1,21 @@ +apiVersion: longhorn.io/v1beta2 +kind: Node +metadata: + name: mayne-worker-1 + namespace: longhorn-system +spec: + disks: + default-disk: + allowScheduling: false + diskType: filesystem + evictionRequested: true + path: /var/lib/longhorn + storageReserved: 10737418240 + tags: [] + new-disk: + allowScheduling: true + diskType: filesystem + evictionRequested: false + path: /mnt/longhorn-storage + storageReserved: 5368709120 + tags: [] diff --git a/longhorn/nodes/mayne-worker-2.yaml b/longhorn/nodes/mayne-worker-2.yaml new file mode 100644 index 0000000..b5eee6d --- /dev/null +++ b/longhorn/nodes/mayne-worker-2.yaml @@ -0,0 +1,21 @@ +apiVersion: longhorn.io/v1beta2 +kind: Node +metadata: + name: mayne-worker-2 + namespace: longhorn-system +spec: + disks: + default-disk: + allowScheduling: false + diskType: filesystem + evictionRequested: true + path: /var/lib/longhorn + storageReserved: 10737418240 + tags: [] + new-disk: + allowScheduling: true + diskType: filesystem + evictionRequested: false + path: /mnt/longhorn-storage + storageReserved: 5368709120 + tags: []