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
This commit is contained in:
@@ -4,6 +4,7 @@ metadata:
|
|||||||
name: mayne-vcn
|
name: mayne-vcn
|
||||||
namespace: longhorn
|
namespace: longhorn
|
||||||
spec:
|
spec:
|
||||||
|
allowScheduling: true
|
||||||
disks:
|
disks:
|
||||||
new-disk:
|
new-disk:
|
||||||
allowScheduling: true
|
allowScheduling: true
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ metadata:
|
|||||||
name: mayne-worker-1
|
name: mayne-worker-1
|
||||||
namespace: longhorn
|
namespace: longhorn
|
||||||
spec:
|
spec:
|
||||||
|
allowScheduling: false
|
||||||
disks:
|
disks:
|
||||||
new-disk:
|
new-disk:
|
||||||
allowScheduling: false
|
allowScheduling: false
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ metadata:
|
|||||||
name: mayne-worker-2
|
name: mayne-worker-2
|
||||||
namespace: longhorn
|
namespace: longhorn
|
||||||
spec:
|
spec:
|
||||||
|
allowScheduling: true
|
||||||
disks:
|
disks:
|
||||||
new-disk:
|
new-disk:
|
||||||
allowScheduling: true
|
allowScheduling: true
|
||||||
|
|||||||
Reference in New Issue
Block a user