yuryn | 5d0587b | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableAaiHbase }} |
Mandeep Khinda | 71439a7 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: extensions/v1beta1 |
| 3 | kind: Deployment |
| 4 | metadata: |
| 5 | name: hbase |
Mandeep Khinda | a71542f | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-aai" |
Mandeep Khinda | 71439a7 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | spec: |
| 8 | selector: |
| 9 | matchLabels: |
| 10 | app: hbase |
| 11 | template: |
| 12 | metadata: |
| 13 | labels: |
| 14 | app: hbase |
| 15 | name: hbase |
| 16 | spec: |
| 17 | hostname: hbase |
Mandeep Khinda | 71439a7 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 18 | containers: |
| 19 | - name: hbase |
Mandeep Khinda | fc06843 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 20 | image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}" |
kerenj | 3db4be5 | 2017-08-24 11:32:22 +0000 | [diff] [blame] | 21 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | 71439a7 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 22 | ports: |
Mandeep Khinda | fc06843 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 23 | - containerPort: 2181 |
| 24 | - containerPort: 8080 |
| 25 | - containerPort: 8085 |
| 26 | - containerPort: 9090 |
| 27 | - containerPort: 16000 |
| 28 | - containerPort: 16010 |
| 29 | - containerPort: 16201 |
Mandeep Khinda | 71439a7 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 30 | readinessProbe: |
| 31 | tcpSocket: |
Mandeep Khinda | fc06843 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 32 | port: 2181 |
Mandeep Khinda | 71439a7 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 33 | initialDelaySeconds: 5 |
| 34 | periodSeconds: 10 |
yuryn | c400bf5 | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 35 | volumeMounts: |
Munir Ahmad | bccac37 | 2018-01-30 17:13:19 -0500 | [diff] [blame^] | 36 | - name: hbase-data |
| 37 | mountPath: /tmp |
yuryn | c400bf5 | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 38 | - name: localtime |
| 39 | mountPath: /etc/localtime |
| 40 | readOnly: true |
| 41 | volumes: |
Munir Ahmad | bccac37 | 2018-01-30 17:13:19 -0500 | [diff] [blame^] | 42 | - name: hbase-data |
| 43 | hostPath: |
| 44 | path: /dockerdata-nfs/onap/aai/hbase |
yuryn | c400bf5 | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 45 | - name: localtime |
| 46 | hostPath: |
| 47 | path: /etc/localtime |
Borislav Glozman | fe6dd56 | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 48 | imagePullSecrets: |
Mandeep Khinda | a71542f | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 49 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
Munir Ahmad | bccac37 | 2018-01-30 17:13:19 -0500 | [diff] [blame^] | 50 | #{{ end }} |