# Applied to worker.yaml alongside patch-longhorn.yaml. These two workers are # amd64 Proxmox VMs; they run ordinary application Pods and provide Longhorn's # two independent storage replicas. # # `disk: /dev/sda` is the dedicated 20GiB Talos boot disk. Longhorn's 350GiB # disk is /dev/sdb and is selected separately by patch-longhorn.yaml. Naming # both roles explicitly prevents an installer or storage selector from # claiming the wrong virtual disk. # # The custom Image Factory installer contains Longhorn's `iscsi-tools` and # `util-linux-tools` extensions plus `qemu-guest-agent` and NetBird. Keep this # schematic reference during future upgrades; switching to the stock installer # would silently remove those extensions. # # Both VMs use `ens18`. Their DHCP-reserved MAC addresses keep worker01 at # 10.10.10.203 and worker02 at 10.10.10.204 while DHCP supplies their gateway # and DNS settings. # # `nodeLabels` makes the worker role visible in `kubectl get nodes` and tells # Longhorn that these two nodes—and only these two—may create a default disk. # apps/longhorn/values.yaml enables this opt-in behavior so the Raspberry Pi # control planes never fall back to their small system disks. machine: nodeLabels: node-role.kubernetes.io/worker: "" node.longhorn.io/create-default-disk: "true" install: disk: /dev/sda image: "factory.talos.dev/metal-installer/\ 81fb1af7c03952593ba459c6c8b7fcc1268b6fe0cc80e6035ac629a741c183cc:v1.13.8" network: interfaces: - interface: ens18 dhcp: true