From 50a13de70b3fa11e01abaa51298da13d64311722 Mon Sep 17 00:00:00 2001 From: wangbo Date: Sat, 1 Aug 2026 21:41:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(acceptance):=20=E5=85=81=E8=AE=B8=E6=A8=A1?= =?UTF-8?q?=E6=8B=9F=E5=99=A8=E8=B0=83=E5=BA=A6=E5=88=B0=E4=B8=93=E7=94=A8?= =?UTF-8?q?=20Worker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原因:新香港专用 Worker 节点带有 easyai.io/worker-only NoSchedule taint,现有模拟器只有节点选择器,导致线上验收滚动更新长期 Pending。\n\n影响:协议模拟器可在排除数据库与控制面节点的前提下调度到专用 Worker;正式 API、Worker 和流量门禁不变。\n\n验证:生产 API Server server-side dry-run 通过;manual-release-test 通过;git diff --check 通过。 --- deploy/kubernetes/acceptance/protocol-emulator.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/kubernetes/acceptance/protocol-emulator.yaml b/deploy/kubernetes/acceptance/protocol-emulator.yaml index 43469f1..3063a50 100644 --- a/deploy/kubernetes/acceptance/protocol-emulator.yaml +++ b/deploy/kubernetes/acceptance/protocol-emulator.yaml @@ -24,6 +24,14 @@ spec: easyai.io/worker: "true" easyai.io/database: "false" easyai.io/workload: "true" + tolerations: + # Dedicated Worker nodes are protected with this taint. The emulator + # deliberately shares their media/CPU path during validation while + # remaining excluded from database and control-plane nodes. + - key: easyai.io/worker-only + operator: Equal + value: "true" + effect: NoSchedule securityContext: runAsNonRoot: true runAsUser: 10001