2026-09-11 09:31:51 +09:00
|
|
|
# Longhorn Node CRDs for cp-2, cp-3, and worker-1.
|
|
|
|
|
# cp-2/cp-3 have the control-plane taint, so Longhorn doesn't auto-discover them.
|
|
|
|
|
# Explicit Node CRDs + the taint-toleration setting enable storage across all 3 CP nodes.
|
2026-08-18 14:23:55 -07:00
|
|
|
#
|
2026-09-11 09:31:51 +09:00
|
|
|
# `spec.disks` is deliberately absent for CP nodes. Longhorn owns disk identity:
|
|
|
|
|
# it names the entry itself and writes `storageReserved`, `diskType` and
|
|
|
|
|
# `evictionRequested` into it. Disk tags are applied via kubectl patch (see
|
|
|
|
|
# longhorn-tag-disks-job.yaml) since disk names are runtime-discovered.
|
2026-08-18 14:23:55 -07:00
|
|
|
#
|
2026-09-11 09:31:51 +09:00
|
|
|
# worker-1 has scheduling disabled so only StorageClasses with explicit
|
|
|
|
|
# diskSelector (e.g. `llm` for longhorn-llm-local) can use it.
|
2026-07-22 08:46:57 -07:00
|
|
|
---
|
|
|
|
|
apiVersion: longhorn.io/v1beta2
|
|
|
|
|
kind: Node
|
|
|
|
|
metadata:
|
|
|
|
|
name: talos-cp-2
|
|
|
|
|
namespace: longhorn-system
|
|
|
|
|
spec:
|
2026-07-22 12:02:44 -07:00
|
|
|
name: talos-cp-2
|
2026-07-22 08:46:57 -07:00
|
|
|
allowScheduling: true
|
|
|
|
|
tags: []
|
|
|
|
|
---
|
|
|
|
|
apiVersion: longhorn.io/v1beta2
|
|
|
|
|
kind: Node
|
|
|
|
|
metadata:
|
|
|
|
|
name: talos-cp-3
|
|
|
|
|
namespace: longhorn-system
|
|
|
|
|
spec:
|
2026-07-22 12:02:44 -07:00
|
|
|
name: talos-cp-3
|
2026-07-22 08:46:57 -07:00
|
|
|
allowScheduling: true
|
|
|
|
|
tags: []
|
2026-09-11 09:31:51 +09:00
|
|
|
---
|
|
|
|
|
apiVersion: longhorn.io/v1beta2
|
|
|
|
|
kind: Node
|
|
|
|
|
metadata:
|
|
|
|
|
name: worker-1
|
|
|
|
|
namespace: longhorn-system
|
|
|
|
|
spec:
|
|
|
|
|
name: worker-1
|
|
|
|
|
allowScheduling: false
|
|
|
|
|
tags: []
|