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: |
vaibhav_16dec | a97d3fd | 2018-02-14 05:32:10 +0000 | [diff] [blame] | 8 | replicas: {{ .Values.hbaseReplicas }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 9 | selector: |
| 10 | matchLabels: |
| 11 | app: hbase |
| 12 | template: |
| 13 | metadata: |
| 14 | labels: |
| 15 | app: hbase |
| 16 | name: hbase |
| 17 | spec: |
| 18 | hostname: hbase |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 19 | containers: |
| 20 | - name: hbase |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 21 | image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}" |
kerenj | fdc1762 | 2017-08-24 11:32:22 +0000 | [diff] [blame] | 22 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 23 | ports: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 24 | - containerPort: 2181 |
| 25 | - containerPort: 8080 |
| 26 | - containerPort: 8085 |
| 27 | - containerPort: 9090 |
| 28 | - containerPort: 16000 |
| 29 | - containerPort: 16010 |
| 30 | - containerPort: 16201 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 31 | readinessProbe: |
| 32 | tcpSocket: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 33 | port: 2181 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 34 | initialDelaySeconds: 5 |
| 35 | periodSeconds: 10 |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 36 | volumeMounts: |
Munir Ahmad | 05b29cc | 2018-01-30 17:13:19 -0500 | [diff] [blame] | 37 | - name: hbase-data |
| 38 | mountPath: /tmp |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 39 | - name: localtime |
| 40 | mountPath: /etc/localtime |
| 41 | readOnly: true |
| 42 | volumes: |
Munir Ahmad | 05b29cc | 2018-01-30 17:13:19 -0500 | [diff] [blame] | 43 | - name: hbase-data |
| 44 | hostPath: |
Munir Ahmad | ed77ce3 | 2018-02-05 08:40:34 -0500 | [diff] [blame] | 45 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aai/hbase |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 46 | - name: localtime |
| 47 | hostPath: |
| 48 | path: /etc/localtime |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 49 | imagePullSecrets: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 50 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |
Munir Ahmad | 05b29cc | 2018-01-30 17:13:19 -0500 | [diff] [blame] | 51 | #{{ end }} |