- 添加global.imageRegistry作为统一镜像仓库地址配置项 - 创建通用image模板函数处理镜像地址拼接逻辑 - 更新所有chart使用新的镜像配置结构 - 在README中添加镜像地址约定说明 - 修改CI命令示例以包含必要的镜像配置参数 - 将硬编码的镜像地址改为通过values动态配置
31 lines
970 B
YAML
31 lines
970 B
YAML
# MQTTX Web: 浏览器端 MQTT 客户端 (emqx/mqttx-web, 容器内 nginx:80 纯静态 SPA)。
|
||
# 部署后通过浏览器用 WebSocket 连各 Edge 的 NanoMQ,开发/调试 MQTT 流量。
|
||
#
|
||
# 连 NanoMQ 的方式:
|
||
# NanoMQ Service 默认 ClusterIP(外部不可达),运维需把目标 Edge 的 NanoMQ Service
|
||
# 临时改成 NodePort(kubectl patch svc <edge>-nanomq-service -p '{"spec":{"type":"NodePort"}}'
|
||
# 并在 Service 上声明 ws 端口),然后在 MQTTX Web 新建连接填:
|
||
# ws://<节点IP>:<NodePort>/mqtt
|
||
#
|
||
# Ingress:demo 环境有 *.mixingx.local DNS,用 host 暴露;无 DNS 的现场改用 NodePort。
|
||
|
||
global:
|
||
imageRegistry: ""
|
||
|
||
timezone: Asia/Shanghai
|
||
|
||
mqttx:
|
||
name: mqttx
|
||
replicas: 1
|
||
image:
|
||
repository: mqttx-web
|
||
tag: ""
|
||
description: "MQTT 监控客户端"
|
||
|
||
ingress:
|
||
enabled: true
|
||
className: traefik
|
||
host: mqttx.mixingx.local
|
||
annotations:
|
||
traefik.ingress.kubernetes.io/router.entrypoints: web
|