Files
mixingx.hub.chart/release-charts/mixingx-agent-unit/values.yaml
T
王野 f74201a7ef feat(mixingx-agent-unit): 添加后端配置模板并集成Ultra服务发现
- 新增 `mixingx-unit.backendConfigData` 模板定义,统一管理后端服务配置项
- 在 unit.yaml 中添加配置校验和注解,确保配置变更时触发滚动更新
- 将硬编码的 ConfigMap 配置替换为模板引用,提高维护性
- 添加 Ultra 服务发现配置,默认指向 ultra-service:8080
- 支持多 Ultra 部署场景下的地址覆盖能力
2026-08-17 14:09:17 +08:00

68 lines
1.4 KiB
YAML

registry: 192.168.1.105:8888/mixingx
tag: latest
timezone: Asia/Shanghai
role: agent
site: "0"
description: "Agent 实例 0"
serviceId: ""
phaseType: "" # 工序类型(对应 apphost 的 AGENT_PHASE_TYPE,如 DieCasting/Passivation/Machining);空则不注入
database: ""
images:
backend:
repository: agent
tag: ""
frontend:
repository: agent-web
tag: ""
postgres:
repository: docker.io/library/postgres
tag: "17"
agent: {}
agentWeb: {}
ports:
backend: 8080
frontend: 80
postgres: 5432
storage:
className: local-path
size: 5Gi
keep: true
nodeName: ""
nodeSelector: {}
sharedInfra:
# Agent 侧服务发现注入的 Ultra 地址(services__ultra__http__0)。
# 默认指向平台级 Ultra;未来多 Ultra 部署时在对应 agent 的 values 覆盖 host 即可。
ultra:
host: ultra-service
port: 8080
postgres:
username: postgres
password: "Admin12345"
port: 5432
redis:
host: redis-service
port: 6379
password: "Admin12345"
rabbitmq:
host: messaging-service
port: 5672
username: guest
password: guest
otlp:
endpoint: http://k8s-dashboard-service:18889
protocol: grpc
# credentialRef → credential 映射表。
# Agent 从 Gateway descriptor 获取每个 Edge 的 credentialRef,
# 再从此表查找对应的 MQTT 用户名/密码。
mqttCredentials: []
# - credentialRef: "edge-demo-mqtt"
# username: "edge-user"
# password: "edge-pass"