vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 15 | #{{ if not .Values.disableAaiHbase }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: hbase |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | labels: |
| 22 | app: hbase |
| 23 | spec: |
| 24 | ports: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 25 | - name: "hbase-port-1" |
| 26 | port: 2181 |
| 27 | - name: "hbase-port-2" |
| 28 | port: 8080 |
| 29 | - name: "hbase-port-3" |
| 30 | port: 8085 |
| 31 | - name: "hbase-port-4" |
| 32 | port: 9090 |
| 33 | - name: "hbase-port-5" |
| 34 | port: 16000 |
| 35 | - name: "hbase-port-6" |
| 36 | port: 16010 |
| 37 | - name: "hbase-port-7" |
| 38 | port: 16201 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 39 | selector: |
| 40 | app: hbase |
| 41 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 42 | #{{ end }} |
| 43 | #{{ if not .Values.disableAaiAaiService }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 44 | --- |
| 45 | apiVersion: v1 |
| 46 | kind: Service |
| 47 | metadata: |
| 48 | name: aai-service |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 49 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 50 | labels: |
| 51 | app: aai-service |
| 52 | spec: |
| 53 | ports: |
| 54 | - name: "aai-service-port-8443" |
| 55 | port: 8443 |
| 56 | targetPort: 8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 57 | nodePort: {{ .Values.nodePortPrefix }}33 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 58 | - name: "aai-service-port-8080" |
| 59 | port: 8080 |
| 60 | targetPort: 8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 61 | nodePort: {{ .Values.nodePortPrefix }}32 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 62 | type: NodePort |
| 63 | selector: |
| 64 | app: aai-service |
Alexis de Talhouët | df4db0b | 2017-12-11 08:36:25 -0500 | [diff] [blame] | 65 | clusterIP: {{ .Values.aaiServiceClusterIp }} |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 66 | #{{ end }} |
| 67 | #{{ if not .Values.disableAaiModelLoaderService }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 68 | --- |
| 69 | apiVersion: v1 |
| 70 | kind: Service |
| 71 | metadata: |
| 72 | name: model-loader-service |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 73 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 74 | labels: |
| 75 | app: model-loader-service |
| 76 | spec: |
| 77 | ports: |
| 78 | - name: "model-loader-service-port-8443" |
| 79 | port: 8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 80 | nodePort: {{ .Values.nodePortPrefix }}29 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 81 | - name: "model-loader-service-port-8080" |
| 82 | port: 8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 83 | nodePort: {{ .Values.nodePortPrefix }}10 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 84 | type: NodePort |
| 85 | selector: |
| 86 | app: model-loader-service |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 87 | #{{ end }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 88 | --- |
| 89 | apiVersion: v1 |
| 90 | kind: Service |
| 91 | metadata: |
| 92 | name: gremlin |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 93 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 94 | labels: |
| 95 | app: gremlin |
| 96 | spec: |
| 97 | ports: |
| 98 | - name: "gremlin-port" |
| 99 | port: 8182 |
| 100 | selector: |
| 101 | app: gremlin |
| 102 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 103 | #{{ if not .Values.disableAaiElasticsearch }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 104 | --- |
| 105 | apiVersion: v1 |
| 106 | kind: Service |
| 107 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 108 | name: aai-elasticsearch |
| 109 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 110 | labels: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 111 | app: aai-elasticsearch |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 112 | spec: |
| 113 | ports: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 114 | - name: "aai-elasticsearch-port" |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 115 | port: 9200 |
| 116 | selector: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 117 | app: aai-elasticsearch |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 118 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 119 | #{{ end }} |
| 120 | #{{ if not .Values.disableAaiSearchDataService }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 121 | --- |
| 122 | apiVersion: v1 |
| 123 | kind: Service |
| 124 | metadata: |
| 125 | name: search-data-service |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 126 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 127 | labels: |
| 128 | app: search-data-service |
| 129 | spec: |
| 130 | ports: |
| 131 | - name: "search-data-service-port-9509" |
| 132 | port: 9509 |
| 133 | selector: |
| 134 | app: search-data-service |
| 135 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 136 | #{{ end }} |
| 137 | #{{ if not .Values.disableAaiAaiTraversal }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 138 | --- |
| 139 | apiVersion: v1 |
| 140 | kind: Service |
| 141 | metadata: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 142 | name: aai-traversal |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 143 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 144 | labels: |
| 145 | app: aai-traversal |
| 146 | spec: |
| 147 | ports: |
| 148 | - name: "aai-traversal-port-8446" |
| 149 | port: 8446 |
| 150 | - name: aai-traversal-port-debug |
| 151 | port: 5005 |
| 152 | selector: |
| 153 | app: aai-traversal |
| 154 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 155 | #{{ end }} |
| 156 | #{{ if not .Values.disableAaiAaiResources }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 157 | --- |
| 158 | apiVersion: v1 |
| 159 | kind: Service |
| 160 | metadata: |
| 161 | name: aai-resources |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 162 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 163 | labels: |
| 164 | app: aai-resources |
| 165 | spec: |
| 166 | ports: |
| 167 | - name: "aai-resources-port-8447" |
| 168 | port: 8447 |
| 169 | - name: aai-resources-port-debug |
| 170 | port: 5005 |
| 171 | selector: |
| 172 | app: aai-resources |
Mandeep Khinda | 5e35c5c | 2017-09-05 18:27:15 +0000 | [diff] [blame] | 173 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 174 | #{{ end }} |
| 175 | #{{ if not .Values.disableAaiSparkyBe }} |
Mandeep Khinda | 5e35c5c | 2017-09-05 18:27:15 +0000 | [diff] [blame] | 176 | --- |
| 177 | apiVersion: v1 |
| 178 | kind: Service |
| 179 | metadata: |
| 180 | name: sparky-be |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 181 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | 5e35c5c | 2017-09-05 18:27:15 +0000 | [diff] [blame] | 182 | labels: |
| 183 | app: sparky-be |
| 184 | spec: |
| 185 | ports: |
| 186 | - name: "sparky-be-port-9517" |
| 187 | port: 9517 |
| 188 | selector: |
| 189 | app: sparky-be |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 190 | clusterIP: None |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 191 | #{{ end }} |