Merge: Longhorn concurrent-replica-rebuild-per-node-limit=1 (HDD etcd protection)
Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
2 files changed
+10
No files matched your search
@@ -56,6 +56,15 @@ spec:
|
|||||||
# never blocks scheduling).
|
# never blocks scheduling).
|
||||||
replicaAutoBalance: "best-effort"
|
replicaAutoBalance: "best-effort"
|
||||||
|
|
||||||
|
# --- rebuild I/O throttle for slow disks (etcd WAL fsync protection) ---
|
||||||
|
# The k3s VM disks sit on HDDs, so a full-replica rebuild's sequential I/O can saturate the
|
||||||
|
# spindle and starve etcd's WAL fsync — which crash-loops etcd and flaps the kube-vip VIP.
|
||||||
|
# Cap Longhorn to rebuilding ONE replica per node at a time so a node bounce / replica
|
||||||
|
# replenishment can never storm the HDDs. Deliberately conservative for this slow-disk cluster
|
||||||
|
# (Longhorn's chart default is higher). Pair with replica-replenishment-wait-interval=600
|
||||||
|
# (Longhorn default) so brief node bounces don't trigger replenishment at all.
|
||||||
|
concurrentReplicaRebuildPerNodeLimit: 1
|
||||||
|
|
||||||
# --- capacity guardrails (docs/04 "reserve disk headroom") ---
|
# --- capacity guardrails (docs/04 "reserve disk headroom") ---
|
||||||
# Reserve 20% of the dedicated data disk so a node never fills to 100% (which wedges the
|
# Reserve 20% of the dedicated data disk so a node never fills to 100% (which wedges the
|
||||||
# kubelet and Longhorn alike). Dev disks are small, so headroom matters.
|
# kubelet and Longhorn alike). Dev disks are small, so headroom matters.
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
# replicaSoftAntiAffinity: false # HARD anti-affinity: one replica per node
|
# replicaSoftAntiAffinity: false # HARD anti-affinity: one replica per node
|
||||||
# replicaZoneSoftAntiAffinity: true # single zone (3 mini-PCs, no failure zones)
|
# replicaZoneSoftAntiAffinity: true # single zone (3 mini-PCs, no failure zones)
|
||||||
# replicaAutoBalance: best-effort # rebalance toward one-per-node when a node returns
|
# replicaAutoBalance: best-effort # rebalance toward one-per-node when a node returns
|
||||||
|
# concurrentReplicaRebuildPerNodeLimit: 1 # throttle rebuild I/O so it can't starve etcd WAL fsync (HDD-backed)
|
||||||
# storageReservedPercentageForDefaultDisk: "20" # reserve disk headroom (docs/04 guardrail)
|
# storageReservedPercentageForDefaultDisk: "20" # reserve disk headroom (docs/04 guardrail)
|
||||||
# storageMinimalAvailablePercentage: "25" # stop scheduling below 25% free
|
# storageMinimalAvailablePercentage: "25" # stop scheduling below 25% free
|
||||||
# storageOverProvisioningPercentage: "100" # dev: no thin over-provisioning (1:1)
|
# storageOverProvisioningPercentage: "100" # dev: no thin over-provisioning (1:1)
|
||||||
|
|||||||
Reference in new issue
Block a user