From 77554887897f9c2bca1ea356d9d1f83bbfcafc52 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Oct 2020 20:47:35 +0200 Subject: [PATCH] Added node port for MQTT --- activemq-artemis.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/activemq-artemis.yaml b/activemq-artemis.yaml index d2e9232..4210aab 100644 --- a/activemq-artemis.yaml +++ b/activemq-artemis.yaml @@ -85,6 +85,23 @@ spec: protocol: TCP selector: app: activemq + +--- +apiVersion: v1 +kind: Service +metadata: + name: activemq-mqtt + namespace: birbnetes +spec: + type: NodePort + ports: + - name: activemq-mqtt + port: 1883 + targetPort: 1883 + nodePort: 30075 + protocol: TCP + selector: + app: activemq --- apiVersion: v1 kind: ConfigMap