From 5c0e67713c6ea6e5eb79243053748d1beabcea75 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Wed, 31 Dec 2025 21:22:40 +0900 Subject: [PATCH] FIX(longhorn): longhorn node scheduling - enable master and worker-2 - Add allowScheduling: true to mayne-vcn (master) - Add allowScheduling: true to mayne-worker-2 - Add allowScheduling: false to mayne-worker-1 (excluded) - Fixes degraded volumes with only 1 replica --- longhorn/nodes/mayne-vcn.yaml | 1 + longhorn/nodes/mayne-worker-1.yaml | 1 + longhorn/nodes/mayne-worker-2.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/longhorn/nodes/mayne-vcn.yaml b/longhorn/nodes/mayne-vcn.yaml index 889a056..959f028 100644 --- a/longhorn/nodes/mayne-vcn.yaml +++ b/longhorn/nodes/mayne-vcn.yaml @@ -4,6 +4,7 @@ metadata: name: mayne-vcn namespace: longhorn spec: + allowScheduling: true disks: new-disk: allowScheduling: true diff --git a/longhorn/nodes/mayne-worker-1.yaml b/longhorn/nodes/mayne-worker-1.yaml index 74f8b76..1d3da4b 100644 --- a/longhorn/nodes/mayne-worker-1.yaml +++ b/longhorn/nodes/mayne-worker-1.yaml @@ -4,6 +4,7 @@ metadata: name: mayne-worker-1 namespace: longhorn spec: + allowScheduling: false disks: new-disk: allowScheduling: false diff --git a/longhorn/nodes/mayne-worker-2.yaml b/longhorn/nodes/mayne-worker-2.yaml index bdd17c0..556366a 100644 --- a/longhorn/nodes/mayne-worker-2.yaml +++ b/longhorn/nodes/mayne-worker-2.yaml @@ -4,6 +4,7 @@ metadata: name: mayne-worker-2 namespace: longhorn spec: + allowScheduling: true disks: new-disk: allowScheduling: true