# MQTTX Web: 浏览器端 MQTT 客户端 (emqx/mqttx-web, 容器内 nginx:80 纯静态 SPA)。 # 部署后通过浏览器用 WebSocket 连各 Edge 的 NanoMQ,开发/调试 MQTT 流量。 # # 连 NanoMQ 的方式: # NanoMQ Service 默认 ClusterIP(外部不可达),运维需把目标 Edge 的 NanoMQ Service # 临时改成 NodePort(kubectl patch svc -nanomq-service -p '{"spec":{"type":"NodePort"}}' # 并在 Service 上声明 ws 端口),然后在 MQTTX Web 新建连接填: # ws://<节点IP>:/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