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: extensions/v1beta1 |
| 3 | kind: Deployment |
| 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 | 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 | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 18 | containers: |
| 19 | - name: hbase |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 20 | image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}" |
kerenj | fdc1762 | 2017-08-24 11:32:22 +0000 | [diff] [blame] | 21 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 22 | ports: |
Mandeep Khinda | 4b88197 | 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 | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 30 | readinessProbe: |
| 31 | tcpSocket: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 32 | port: 2181 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 33 | initialDelaySeconds: 5 |
| 34 | periodSeconds: 10 |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 35 | volumeMounts: |
Munir Ahmad | 05b29cc | 2018-01-30 17:13:19 -0500 | [diff] [blame^] | 36 | - name: hbase-data |
| 37 | mountPath: /tmp |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 38 | - name: localtime |
| 39 | mountPath: /etc/localtime |
| 40 | readOnly: true |
| 41 | volumes: |
Munir Ahmad | 05b29cc | 2018-01-30 17:13:19 -0500 | [diff] [blame^] | 42 | - name: hbase-data |
| 43 | hostPath: |
| 44 | path: /dockerdata-nfs/onap/aai/hbase |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 45 | - name: localtime |
| 46 | hostPath: |
| 47 | path: /etc/localtime |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 48 | imagePullSecrets: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 49 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
Munir Ahmad | 05b29cc | 2018-01-30 17:13:19 -0500 | [diff] [blame^] | 50 | #{{ end }} |