blob: b0170734dd892ff884b223d89862304592ae5ac2 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableDcaeZookeeper }}
Mike Elliott586f03b2017-09-08 12:46:15 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: zookeeper
6 namespace: "{{ .Values.nsPrefix }}-dcae"
7 labels:
8 app: zookeeper
9spec:
10 ports:
11 - name: zookeeper1
12 port: 2181
13 selector:
14 app: zookeeper
15 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disableDcaeKafka }}
Mike Elliott586f03b2017-09-08 12:46:15 -040018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: kafka
23 namespace: "{{ .Values.nsPrefix }}-dcae"
24 labels:
25 app: kafka
26spec:
27 ports:
28 - name: kafka1
29 port: 9092
30 selector:
31 app: kafka
32 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030033#{{ end }}
34#{{ if not .Values.disableDcaeDmaap }}
Mike Elliott586f03b2017-09-08 12:46:15 -040035---
36apiVersion: v1
37kind: Service
38metadata:
39 name: dmaap
40 namespace: "{{ .Values.nsPrefix }}-dcae"
41 labels:
42 app: dmaap
43 version: 1.1.0
44spec:
45 ports:
46 - name: mr1
47 port: 3904
48 #nodePort: {{ .Values.nodePortPrefix }}27
49 - name: mr2
50 port: 3905
51 #nodePort: {{ .Values.nodePortPrefix }}26
52 selector:
53 app: dmaap
54 #type: NodePort
55 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030056#{{ end }}
57#{{ if not .Values.disableDcaeDcaePgaas }}
Mike Elliott586f03b2017-09-08 12:46:15 -040058---
59apiVersion: v1
60kind: Service
61metadata:
62 name: zldciad4vipstg00
63 namespace: "{{ .Values.nsPrefix }}-dcae"
64 labels:
65 app: dcae-pgaas
66spec:
67 selector:
68 app: dcae-pgaas
69 ports:
70 - port: 5432
71 protocol: TCP
72 targetPort: 5432
73 nodePort: {{ .Values.nodePortPrefix }}45
74 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030075#{{ end }}
76#{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }}
Mike Elliott586f03b2017-09-08 12:46:15 -040077---
78apiVersion: v1
79kind: Service
80metadata:
81 labels:
82 app: dcae-collector-common-event
83 version: latest
84 name: dcae-collector-common-event
85 namespace: "{{ .Values.nsPrefix }}-dcae"
86spec:
87 ports:
88 - name: dcae-ce1
89 port: 8080
90 protocol: TCP
91 nodePort: {{ .Values.nodePortPrefix }}36
92 - name: dcae-ce2
93 port: 8443
94 protocol: TCP
95 nodePort: {{ .Values.nodePortPrefix }}37
96 - name: dcae-ce3
97 port: 9999
98 protocol: TCP
99 nodePort: {{ .Values.nodePortPrefix }}38
100 selector:
101 app: dcae-collector-common-event
102 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300103#{{ end }}
104#{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }}
Mike Elliott586f03b2017-09-08 12:46:15 -0400105---
106apiVersion: v1
107kind: Service
108metadata:
109 labels:
110 app: dcae-collector-dmaapbc
111 version: latest
112 name: dcae-collector-dmaapbc
113 namespace: "{{ .Values.nsPrefix }}-dcae"
114spec:
115 ports:
116 - name: dcae-bc1
117 port: 8080
118 protocol: TCP
119 targetPort: 8080
120 nodePort: {{ .Values.nodePortPrefix }}39
121 - name: dcae-bc2
122 port: 8443
123 protocol: TCP
124 targetPort: 8443
125 nodePort: {{ .Values.nodePortPrefix }}40
126 selector:
127 app: dcae-collector-dmaapbc
128 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300129#{{ end }}