aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/message-router/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/message-router/all-services.yaml')
-rw-r--r--kubernetes/message-router/all-services.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/kubernetes/message-router/all-services.yaml b/kubernetes/message-router/all-services.yaml
new file mode 100644
index 0000000000..ef13b8e321
--- /dev/null
+++ b/kubernetes/message-router/all-services.yaml
@@ -0,0 +1,46 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: zookeeper
+ labels:
+ app: zookeeper
+spec:
+ ports:
+ - name: zookeeper1
+ port: 2181
+ selector:
+ app: zookeeper
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: global-kafka
+ labels:
+ app: global-kafka
+spec:
+ ports:
+ - name: kafka1
+ port: 9092
+ selector:
+ app: global-kafka
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: dmaap
+ labels:
+ app: dmaap
+ version: 1.0.0
+spec:
+ ports:
+ - name: mr1
+ port: 3904
+ nodePort: 30227
+ - name: mr2
+ port: 3905
+ nodePort: 30226
+ selector:
+ app: dmaap
+ type: NodePort