# Patches the Longhorn Node to configure two disks with tags: # - default-disk (HDD at /var/lib/longhorn/) tagged "hdd" # - nvme-disk (NVMe at /mnt/nvme-storage/longhorn/) tagged "nvme" # # Apply after Longhorn is running and the NVMe is mounted: # kubectl apply -f node-disks.yaml apiVersion: longhorn.io/v1beta2 kind: Node metadata: name: catherby namespace: longhorn-system spec: allowScheduling: true disks: hdd: allowScheduling: true path: /var/lib/longhorn/ storageReserved: 32212254720 # 30Gi reserved for system tags: - hdd nvme: allowScheduling: true path: /mnt/nvme-storage/longhorn/ storageReserved: 10737418240 # 10Gi reserved tags: - nvme