summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcae/templates/all-services.yaml
blob: b0170734dd892ff884b223d89862304592ae5ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#{{ if not .Values.disableDcaeZookeeper }}
apiVersion: v1
kind: Service
metadata:
  name: zookeeper
  namespace: "{{ .Values.nsPrefix }}-dcae"
  labels:
    app: zookeeper
spec:
  ports:
  - name: zookeeper1
    port: 2181
  selector:
    app: zookeeper
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableDcaeKafka }}
---
apiVersion: v1
kind: Service
metadata:
  name: kafka
  namespace: "{{ .Values.nsPrefix }}-dcae"
  labels:
    app: kafka
spec:
  ports:
  - name: kafka1
    port: 9092
  selector:
    app: kafka
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableDcaeDmaap }}
---
apiVersion: v1
kind: Service
metadata:
  name: dmaap
  namespace: "{{ .Values.nsPrefix }}-dcae"
  labels:
    app: dmaap
    version: 1.1.0
spec:
  ports:
  - name: mr1
    port: 3904
    #nodePort: {{ .Values.nodePortPrefix }}27
  - name: mr2
    port: 3905
    #nodePort: {{ .Values.nodePortPrefix }}26
  selector:
    app: dmaap
  #type: NodePort
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableDcaeDcaePgaas }}
---
apiVersion: v1
kind: Service
metadata:
  name: zldciad4vipstg00
  namespace: "{{ .Values.nsPrefix }}-dcae"
  labels:
    app: dcae-pgaas
spec:
  selector:
    app: dcae-pgaas
  ports:
    - port: 5432
      protocol: TCP
      targetPort: 5432
      nodePort: {{ .Values.nodePortPrefix }}45
  type: NodePort
#{{ end }}
#{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }}
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: dcae-collector-common-event
    version: latest
  name: dcae-collector-common-event
  namespace: "{{ .Values.nsPrefix }}-dcae"
spec:
  ports:
  - name: dcae-ce1
    port: 8080
    protocol: TCP
    nodePort: {{ .Values.nodePortPrefix }}36
  - name: dcae-ce2
    port: 8443
    protocol: TCP
    nodePort: {{ .Values.nodePortPrefix }}37
  - name: dcae-ce3
    port: 9999
    protocol: TCP
    nodePort: {{ .Values.nodePortPrefix }}38
  selector:
    app: dcae-collector-common-event
  type: NodePort
#{{ end }}
#{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }}
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: dcae-collector-dmaapbc
    version: latest
  name: dcae-collector-dmaapbc
  namespace: "{{ .Values.nsPrefix }}-dcae"
spec:
  ports:
  - name: dcae-bc1
    port: 8080
    protocol: TCP
    targetPort: 8080
    nodePort: {{ .Values.nodePortPrefix }}39
  - name: dcae-bc2
    port: 8443
    protocol: TCP
    targetPort: 8443
    nodePort: {{ .Values.nodePortPrefix }}40
  selector:
    app: dcae-collector-dmaapbc
  type: NodePort
#{{ end }}