fix(longhorn): enable worker-1 scheduling, 400Gi reserved
32 degraded + 3 faulted volumes from replica rebuild failures. cp-1/cp-2 over-committed; worker-1 had 602Gi free but scheduling disabled. Enable it with 400Gi reserved for LLM weights. - Add worker-1 to longhorn-nodes.yaml (allowScheduling: true) - Add worker-1 disk config to add-disks-job (storageReserved: 400Gi, evictionRequested: false)
This commit is contained in:
@@ -117,6 +117,22 @@ spec:
|
||||
echo " ✓ talos-cp-3 already has $CP3_DISKS disks configured"
|
||||
fi
|
||||
|
||||
# worker-1: enable scheduling, reserve 400Gi for LLM weights,
|
||||
# clear eviction flag that was set when scheduling was disabled.
|
||||
echo "Configuring worker-1 disk..."
|
||||
kubectl -n longhorn-system patch nodes.longhorn.io worker-1 --type merge -p '{
|
||||
"spec": {
|
||||
"disks": {
|
||||
"default-disk-1030400000000": {
|
||||
"allowScheduling": true,
|
||||
"evictionRequested": false,
|
||||
"storageReserved": 429496729600
|
||||
}
|
||||
}
|
||||
}
|
||||
}'
|
||||
echo " ✓ worker-1 disk configured (400Gi reserved)"
|
||||
|
||||
echo
|
||||
echo "Waiting for disks to be ready..."
|
||||
sleep 10
|
||||
|
||||
Reference in New Issue
Block a user