Files
mixingx.deploy/environments/demo/protocol-servers.yaml
T
ximenchuifeng d795914e7c feat(protocol): add 4 opcua meter servers (injection/chiller/welder/aircompressor)
新增 4 条 server 条目,各自挂载对应设备场景:
- opcua-meter-injection  → /scenes/opcua/meter-injection.json
- opcua-meter-chiller    → /scenes/opcua/meter-chiller.json
- opcua-meter-welder     → /scenes/opcua/meter-welder.json
- opcua-meter-aircompressor → /scenes/opcua/meter-aircompressor.json

server 总数 8 → 12,均 port 4840,ClusterIP。
ArgoCD ApplicationSet 自动生成 4 个 Application。

⚠️ 部署顺序:需先 CI 重 build opcua 镜像(含新 scene 文件),
否则新 pod 因 FileNotFound 而 CrashLoopBackOff。
2026-07-07 11:26:17 +08:00

77 lines
1.6 KiB
YAML

servers:
- id: opcua-peripheral-1
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/peripheral-plc.json
nodeLabel: node1
- id: opcua-meter-1
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/meter.json
nodeLabel: node2
- id: opcua-meter-injection
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/meter-injection.json
nodeLabel: node1
- id: opcua-meter-chiller
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/meter-chiller.json
nodeLabel: node2
- id: opcua-meter-welder
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/meter-welder.json
nodeLabel: node1
- id: opcua-meter-aircompressor
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/meter-aircompressor.json
nodeLabel: node2
- id: opcua-line-dcm1
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/line-dcm1.json
nodeLabel: node1
- id: opcua-line-dcm2
type: opcua
image: opcua
port: 4840
scene: /scenes/opcua/line-dcm2.json
nodeLabel: node2
- id: modbus-basic-1
type: modbus
image: modbus
port: 1502
scene: /scenes/basic.json
nodeLabel: node1
- id: ads-basic-1
type: ads
image: ads
port: 25000
scene: /scenes/basic.json
nodeLabel: node2
args:
- "--netid"
- "127.0.0.1.1.1"
- id: s7-basic-1
type: s7
image: s7
port: 1102
scene: /scenes/basic.json
nodeLabel: node1
- id: s7-diecast-1
type: s7-diecast
image: s7-diecast
port: 1102
scene: /scenes/diecast-machine.json
nodeLabel: node1