Ansible playbook added
[eliot.git] / blueprints / iotgateway / playbooks / roles / rabbitmq / files / common / services.yaml
diff --git a/blueprints/iotgateway/playbooks/roles/rabbitmq/files/common/services.yaml b/blueprints/iotgateway/playbooks/roles/rabbitmq/files/common/services.yaml
new file mode 100644 (file)
index 0000000..d2c0d62
--- /dev/null
@@ -0,0 +1,24 @@
+---
+kind: Service
+apiVersion: v1
+metadata:
+  namespace: default
+  name: rabbitmq
+  labels:
+    app: rabbitmq
+    type: LoadBalancer
+spec:
+  type: NodePort
+  ports:
+    - name: http
+      protocol: TCP
+      port: 15672
+      targetPort: 15672
+      nodePort: 31672
+    - name: amqp
+      protocol: TCP
+      port: 5672
+      targetPort: 5672
+      nodePort: 30672
+  selector:
+    app: rabbitmq