yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 1 | #{{ if not .Values.disableAaiHbase }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: hbase |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-aai" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: hbase |
| 9 | spec: |
| 10 | ports: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 11 | - name: "hbase-port-1" |
| 12 | port: 2181 |
| 13 | - name: "hbase-port-2" |
| 14 | port: 8080 |
| 15 | - name: "hbase-port-3" |
| 16 | port: 8085 |
| 17 | - name: "hbase-port-4" |
| 18 | port: 9090 |
| 19 | - name: "hbase-port-5" |
| 20 | port: 16000 |
| 21 | - name: "hbase-port-6" |
| 22 | port: 16010 |
| 23 | - name: "hbase-port-7" |
| 24 | port: 16201 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 25 | selector: |
| 26 | app: hbase |
| 27 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 28 | #{{ end }} |
| 29 | #{{ if not .Values.disableAaiAaiService }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 30 | --- |
| 31 | apiVersion: v1 |
| 32 | kind: Service |
| 33 | metadata: |
| 34 | name: aai-service |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 35 | namespace: "{{ .Values.nsPrefix }}-aai" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 36 | labels: |
| 37 | app: aai-service |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 38 | annotations: |
| 39 | msb.onap.org/service-info: '[ |
| 40 | { |
| 41 | "serviceName": "aai-cloudInfrastructure", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 42 | "version": "v11", |
| 43 | "url": "/aai/v11/cloud-infrastructure", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 44 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 45 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 46 | "enable_ssl":"True", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 47 | "visualRange":"1" |
| 48 | }, |
| 49 | { |
| 50 | "serviceName": "aai-cloudInfrastructure-deprecated", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 51 | "version": "v11", |
| 52 | "url": "/aai/v11/cloud-infrastructure", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 53 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 54 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 55 | "enable_ssl":"True", |
| 56 | "visualRange":"1", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 57 | "path":"/aai/v11/cloud-infrastructure" |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 58 | }, |
| 59 | { |
| 60 | "serviceName": "aai-business", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 61 | "version": "v11", |
| 62 | "url": "/aai/v11/business", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 63 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 64 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 65 | "enable_ssl":"True", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 66 | "visualRange":"1" |
| 67 | }, |
| 68 | { |
| 69 | "serviceName": "aai-business-deprecated", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 70 | "version": "v11", |
| 71 | "url": "/aai/v11/business", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 72 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 73 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 74 | "enable_ssl":"True", |
| 75 | "visualRange":"1", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 76 | "path":"/aai/v11/business" |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 77 | }, |
| 78 | { |
| 79 | "serviceName": "aai-search", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 80 | "version": "v11", |
| 81 | "url": "/aai/v11/search", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 82 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 83 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 84 | "enable_ssl":"True", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 85 | "visualRange":"1" |
| 86 | }, |
| 87 | { |
| 88 | "serviceName": "aai-search-deprecated", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 89 | "version": "v11", |
| 90 | "url": "/aai/v11/search", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 91 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 92 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 93 | "enable_ssl":"True", |
| 94 | "visualRange":"1", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 95 | "path":"/aai/v11/search" |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 96 | }, |
| 97 | { |
| 98 | "serviceName": "aai-actions", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 99 | "version": "v11", |
| 100 | "url": "/aai/v11/actions", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 101 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 102 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 103 | "enable_ssl":"True", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 104 | "visualRange":"1" |
| 105 | }, |
| 106 | { |
| 107 | "serviceName": "aai-actions-deprecated", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 108 | "version": "v11", |
| 109 | "url": "/aai/v11/actions", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 110 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 111 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 112 | "enable_ssl":"True", |
| 113 | "visualRange":"1", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 114 | "path":"/aai/v11/actions" |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 115 | }, |
| 116 | { |
| 117 | "serviceName": "aai-service-design-and-creation", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 118 | "version": "v11", |
| 119 | "url": "/aai/v11/service-design-and-creation", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 120 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 121 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 122 | "enable_ssl":"True", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 123 | "visualRange":"1" |
| 124 | }, |
| 125 | { |
| 126 | "serviceName": "aai-service-design-and-creation-deprecated", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 127 | "version": "v11", |
| 128 | "url": "/aai/v11/service-design-and-creation", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 129 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 130 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 131 | "enable_ssl":"True", |
| 132 | "visualRange":"1", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 133 | "path":"/aai/v11/service-design-and-creation" |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 134 | }, |
| 135 | { |
| 136 | "serviceName": "aai-network", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 137 | "version": "v11", |
| 138 | "url": "/aai/v11/network", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 139 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 140 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 141 | "enable_ssl":"True", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 142 | "visualRange":"1" |
| 143 | }, |
| 144 | { |
| 145 | "serviceName": "aai-network-deprecated", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 146 | "version": "v11", |
| 147 | "url": "/aai/v11/network", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 148 | "protocol": "REST", |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 149 | "port": "8443", |
HuabingZhao | c8e54f1 | 2017-09-05 16:14:14 +0800 | [diff] [blame] | 150 | "enable_ssl":"True", |
| 151 | "visualRange":"1", |
HuabingZhao | 69d846e | 2017-09-06 10:39:54 +0800 | [diff] [blame] | 152 | "path":"/aai/v11/network" |
| 153 | } |
HuabingZhao | d510144 | 2017-09-01 15:55:22 +0800 | [diff] [blame] | 154 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 155 | spec: |
| 156 | ports: |
| 157 | - name: "aai-service-port-8443" |
| 158 | port: 8443 |
| 159 | targetPort: 8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 160 | nodePort: {{ .Values.nodePortPrefix }}33 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 161 | - name: "aai-service-port-8080" |
| 162 | port: 8080 |
| 163 | targetPort: 8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 164 | nodePort: {{ .Values.nodePortPrefix }}32 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 165 | type: NodePort |
| 166 | selector: |
| 167 | app: aai-service |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 168 | #{{ end }} |
| 169 | #{{ if not .Values.disableAaiModelLoaderService }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 170 | --- |
| 171 | apiVersion: v1 |
| 172 | kind: Service |
| 173 | metadata: |
| 174 | name: model-loader-service |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 175 | namespace: "{{ .Values.nsPrefix }}-aai" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 176 | labels: |
| 177 | app: model-loader-service |
| 178 | spec: |
| 179 | ports: |
| 180 | - name: "model-loader-service-port-8443" |
| 181 | port: 8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 182 | nodePort: {{ .Values.nodePortPrefix }}29 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 183 | - name: "model-loader-service-port-8080" |
| 184 | port: 8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 185 | nodePort: {{ .Values.nodePortPrefix }}10 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 186 | type: NodePort |
| 187 | selector: |
| 188 | app: model-loader-service |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 189 | #{{ end }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 190 | --- |
| 191 | apiVersion: v1 |
| 192 | kind: Service |
| 193 | metadata: |
| 194 | name: gremlin |
| 195 | namespace: "{{ .Values.nsPrefix }}-aai" |
| 196 | labels: |
| 197 | app: gremlin |
| 198 | spec: |
| 199 | ports: |
| 200 | - name: "gremlin-port" |
| 201 | port: 8182 |
| 202 | selector: |
| 203 | app: gremlin |
| 204 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 205 | #{{ if not .Values.disableAaiElasticsearch }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 206 | --- |
| 207 | apiVersion: v1 |
| 208 | kind: Service |
| 209 | metadata: |
| 210 | name: elasticsearch |
| 211 | namespace: "{{ .Values.nsPrefix }}-aai" |
| 212 | labels: |
| 213 | app: elasticsearch |
| 214 | spec: |
| 215 | ports: |
| 216 | - name: "elasticsearch-port" |
| 217 | port: 9200 |
| 218 | selector: |
| 219 | app: elasticsearch |
| 220 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 221 | #{{ end }} |
| 222 | #{{ if not .Values.disableAaiSearchDataService }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 223 | --- |
| 224 | apiVersion: v1 |
| 225 | kind: Service |
| 226 | metadata: |
| 227 | name: search-data-service |
| 228 | namespace: "{{ .Values.nsPrefix }}-aai" |
| 229 | labels: |
| 230 | app: search-data-service |
| 231 | spec: |
| 232 | ports: |
| 233 | - name: "search-data-service-port-9509" |
| 234 | port: 9509 |
| 235 | selector: |
| 236 | app: search-data-service |
| 237 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 238 | #{{ end }} |
| 239 | #{{ if not .Values.disableAaiAaiTraversal }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 240 | --- |
| 241 | apiVersion: v1 |
| 242 | kind: Service |
| 243 | metadata: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 244 | name: aai-traversal |
| 245 | namespace: "{{ .Values.nsPrefix }}-aai" |
| 246 | labels: |
| 247 | app: aai-traversal |
| 248 | spec: |
| 249 | ports: |
| 250 | - name: "aai-traversal-port-8446" |
| 251 | port: 8446 |
| 252 | - name: aai-traversal-port-debug |
| 253 | port: 5005 |
| 254 | selector: |
| 255 | app: aai-traversal |
| 256 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 257 | #{{ end }} |
| 258 | #{{ if not .Values.disableAaiAaiResources }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 259 | --- |
| 260 | apiVersion: v1 |
| 261 | kind: Service |
| 262 | metadata: |
| 263 | name: aai-resources |
| 264 | namespace: "{{ .Values.nsPrefix }}-aai" |
| 265 | labels: |
| 266 | app: aai-resources |
| 267 | spec: |
| 268 | ports: |
| 269 | - name: "aai-resources-port-8447" |
| 270 | port: 8447 |
| 271 | - name: aai-resources-port-debug |
| 272 | port: 5005 |
| 273 | selector: |
| 274 | app: aai-resources |
Mandeep Khinda | 5e35c5c | 2017-09-05 18:27:15 +0000 | [diff] [blame] | 275 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 276 | #{{ end }} |
| 277 | #{{ if not .Values.disableAaiSparkyBe }} |
Mandeep Khinda | 5e35c5c | 2017-09-05 18:27:15 +0000 | [diff] [blame] | 278 | --- |
| 279 | apiVersion: v1 |
| 280 | kind: Service |
| 281 | metadata: |
| 282 | name: sparky-be |
| 283 | namespace: "{{ .Values.nsPrefix }}-aai" |
| 284 | labels: |
| 285 | app: sparky-be |
| 286 | spec: |
| 287 | ports: |
| 288 | - name: "sparky-be-port-9517" |
| 289 | port: 9517 |
| 290 | selector: |
| 291 | app: sparky-be |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 292 | clusterIP: None |
| 293 | #{{ end }} |