fix(k3s): 持久化香港控制面磁盘调度缓解

原因:香港虚拟磁盘在低吞吐下仍出现高同步写延迟,触发 etcd slow apply、Handler timeout 和 PostgreSQL API Server 连通性异常。\n\n影响:新增仅针对香港根块设备的 mq-deadline 配置脚本,应用时不重启 K3s,并提供显式 rollback 恢复 none;运行手册明确该项仅为缓解,不能替代高性能云盘。\n\n验证:新香港节点同步写探针从 13.28ms 降至 6.25ms;bash -n、ShellCheck、manual-release-test.sh 通过。
This commit is contained in:
2026-08-02 10:39:55 +08:00
parent c55e52af11
commit e20688bbe2
3 changed files with 112 additions and 0 deletions
+4
View File
@@ -307,6 +307,10 @@ if grep -Fq 'archive_timeout: 60s' "$root/deploy/kubernetes/production/database.
fi
grep -Fq 'wal_sender_timeout: 30s' "$root/deploy/kubernetes/production/database.yaml"
grep -Fq 'wal_receiver_timeout: 30s' "$root/deploy/kubernetes/production/database.yaml"
bash -n "$root/scripts/cluster/configure-control-plane-io.sh"
grep -Fq 'Before=k3s.service' "$root/scripts/cluster/configure-control-plane-io.sh"
grep -Fq 'restart=false' "$root/scripts/cluster/configure-control-plane-io.sh"
grep -Fq 'configure-control-plane-io.sh apply' "$root/docs/operations/k3s-ha-runbook.md"
"$root/tests/release/cluster-release-helper-test.sh" >/dev/null
"$root/tests/release/production-acceptance-script-test.sh" >/dev/null