blob: 85c4f010cf172c3dd1962c871b7d652bb7b7fa31 [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
name: zookeeper
namespace: "{{ .Values.nsPrefix }}-message-router"
labels:
app: zookeeper
spec:
ports:
- name: zookeeper1
port: 2181
selector:
app: zookeeper
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
name: global-kafka
namespace: "{{ .Values.nsPrefix }}-message-router"
labels:
app: global-kafka
spec:
ports:
- name: kafka1
port: 9092
selector:
app: global-kafka
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
name: dmaap
namespace: "{{ .Values.nsPrefix }}-message-router"
labels:
app: dmaap
version: 1.0.0
spec:
ports:
- name: mr1
port: 3904
nodePort: {{ .Values.nodePortPrefix }}27
- name: mr2
port: 3905
nodePort: {{ .Values.nodePortPrefix }}26
selector:
app: dmaap
type: NodePort