1 2 3 4 5 6 7 8 9 10 11 12 13 14 15--- apiVersion: v1 kind: Service metadata: name: mqtt-service spec: ports: - name: mqtt protocol: TCP port: 1883 nodePort: 31883 selector: app: mqtt type: NodePort
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--- apiVersion: v1 kind: Service metadata: name: mqtt-service spec: ports: - name: mqtt protocol: TCP port: 1883 nodePort: 31883 selector: app: mqtt type: NodePort