release: mxlexus 预置 ADS Router 身份(localNetId 10.200.0.21.1.1 按 idWorkerId 惯例/publicAddress 占位 192.168.1.224 待现场 ip route get 实测;设备网 192.168.10.0/24)+ ApplicationSet 透传

This commit is contained in:
ximenchuifeng committed 2026-10-15 21:24:03 +08:00
1 parent c3b03ead03
commit 5b2f72a8e2
2 files changed
+21

No files matched your search

+13
View File
@@ -41,6 +41,19 @@ spec:
nodeSelector:
mixingx.io/edge-node: "{{ .nodeLabel }}"
{{- end }}
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
{{- if hasKey . "adsRouter" }}
adsRouter:
localNetId: "{{ .adsRouter.localNetId }}"
publicAddress: "{{ .adsRouter.publicAddress }}"
{{- if hasKey .adsRouter "clientEndPoint" }}
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
{{- end }}
{{- if hasKey .adsRouter "externalPort" }}
externalPort: {{ .adsRouter.externalPort }}
{{- end }}
{{- end }}
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
targetRevision: release
ref: values
+8
View File
@@ -5,3 +5,11 @@ edges:
- id: mxlexus
idWorkerId: 21
description: mxlexus 主 Edge
# ADS Router 本方身份:显式分配,重启不变,绝不从 Pod IP 推导。
# localNetId 第 4 字节与 idWorkerId 对齐便于记忆(21);10.200.0.x 前缀避开常见 PLC 网段。
adsRouter:
localNetId: "10.200.0.21.1.1"
# TODO(现场确认): 现场节点到 PLC 网段的出口源地址。客户资料【LE】GIGA_鋳込み_EthernetIP表
# (2026-10-07)载明设备网 192.168.10.0/24(EtherNet/IP;已用 .1-.6/.8-.11/.13,空闲 .7/.12/.14+),
# 本地址预期落在该段;到现场用 `ip route get <PLC_IP>` 实测替换(当前为占位值,勿直接投产)。
publicAddress: "192.168.1.224"