ximenchuifeng
|
aeb34d1e5b
|
feat(agent): 支持 AGENT_PHASE_TYPE 注入(对齐 apphost WithPhaseType)
- mixingx-agent-unit: values 加 phaseType 字段,unit.yaml ConfigMap 渲染 AGENT_PHASE_TYPE
- 根 chart _backend.tpl: agent 分支渲染 AGENT_PHASE_TYPE
- 根 chart instances.yaml: 遍历 agents 时透传 phaseType
- 空 phaseType 不渲染(向后兼容)
对应 apphost.cs WithPhaseType 扩展,k8s 部署侧此前缺失此环境变量,
导致 agent 启动读不到工序类型,触发 ultra 阶段6 扫码校验 Fail。
|
2026-07-07 16:43:20 +08:00 |
|
ximenchuifeng
|
e0d680d67c
|
feat(chart): tier + pointAffinity 模板 + values 块(三层优先级 nodeName>point>tier)
Tasks 5-9: _tier-affinity.tpl + _point-affinity.tpl + values tier 块 +
_backend.tpl 三层注入 + instances.yaml 解析 Point 对象。
|
2026-07-01 13:04:53 +08:00 |
|
ximenchuifeng
|
4c031d7cf7
|
refactor(chart): instances 数组改为 agents/edges 字符串数组,模板自动推导资源名
|
2026-06-30 08:27:25 +08:00 |
|
ximenchuifeng
|
8ffc6ee825
|
feat(chart): instances/standalones 改 range 循环 + 全部镜像加时区
== helm chart 标准化 ==
- instances/standalones: 写死文件 → range 循环(加/删点位只改 values)
- values 加 webName(显式前端名)+ description(Gateway 中文展示名)
- _backend.tpl: Service 加 mixingx.io/description annotation + 补 ultra serviceId
- _frontend.tpl/audit.yaml/mock.yaml: 注入 TZ env
- values 加 timezone 变量(部署地域可覆盖,默认 Asia/Shanghai)
- 修 app-ingress.yaml gatewayService/gatewayPort undefined bug
- 验证: helm diff 资源数一致(61=61),加 agent-beijing 点位 8 资源全部正确生成
== 12 个 Dockerfile 加时区 ==
后端(.NET debian): apt-get tzdata + ln /etc/localtime + ENV TZ
前端(nginx alpine): apk add tzdata
audit(node alpine): apk add tzdata
mock(opcua/s7): 同上
镜像内置 Asia/Shanghai 兜底 + helm TZ env 覆盖 = 双保险
== submodule Dockerfile 重写 ==
agent/edge/ultra: 重写适配 hub 根 context(含 ServiceDefaults 跨仓库引用)
sso/gateway: 加时区
== submodule 指针更新 ==
7 个 submodule 指针全部更新
|
2026-06-25 10:37:52 +08:00 |
|