feat(chart): 新增 mixingx-mqttx chart + NanoMQ 开启 WebSocket 端口
- 新增 release-charts/mixingx-mqttx:浏览器端 MQTT 客户端 (emqx/mqttx-web), Deployment + Service(ClusterIP) + Ingress(host-based),与 sso/gateway 平级, 供运维通过 Argo CD 随时部署/删除监控各 Edge 的 NanoMQ broker。 - edge-unit/nanomq.yaml:NanoMQ 容器声明 ws containerPort(8083)、Service 加 ws port, 供 MQTTX Web 等浏览器客户端经 ws 连接。Service 保持 ClusterIP, 运维需外部调试时手动改 NodePort。 - edge-unit/values.yaml:新增 mqtt.wsPort(默认 8083)。
This commit is contained in:
1 parent
f972154abf
commit
b0563138f4
7 files changed
+139
No files matched your search
@@ -31,6 +31,12 @@ spec:
|
||||
- name: mqtt
|
||||
containerPort: {{ .Values.mqtt.port }}
|
||||
protocol: TCP
|
||||
# WebSocket listener:emqx/nanomq 镜像默认开启 8083(路径 /mqtt)。
|
||||
# 声明此 containerPort 供 MQTTX Web 等浏览器客户端通过 ws 连接。
|
||||
# Service 默认 ClusterIP,运维需外部调试时手动改 NodePort。
|
||||
- name: ws
|
||||
containerPort: {{ .Values.mqtt.wsPort | default 8083 }}
|
||||
protocol: TCP
|
||||
resources:
|
||||
{{ toYaml .Values.mqtt.resources | default dict | nindent 12 }}
|
||||
---
|
||||
@@ -54,4 +60,8 @@ spec:
|
||||
port: {{ .Values.mqtt.port }}
|
||||
targetPort: mqtt
|
||||
protocol: TCP
|
||||
- name: ws
|
||||
port: {{ .Values.mqtt.wsPort | default 8083 }}
|
||||
targetPort: ws
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
Reference in new issue
Block a user