Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: hbase |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 5 | namespace: "{{ .Values.nsPrefix }}-aai" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 6 | spec: |
| 7 | selector: |
| 8 | matchLabels: |
| 9 | app: hbase |
| 10 | template: |
| 11 | metadata: |
| 12 | labels: |
| 13 | app: hbase |
| 14 | name: hbase |
| 15 | spec: |
| 16 | hostname: hbase |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 17 | containers: |
| 18 | - name: hbase |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 19 | image: "{{ .Values.image.aaiHbaseImage }}:{{ .Values.image.aaiHbaseVersion }}" |
kerenj | fdc1762 | 2017-08-24 11:32:22 +0000 | [diff] [blame] | 20 | imagePullPolicy: {{ .Values.pullPolicy }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | ports: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 22 | - containerPort: 2181 |
| 23 | - containerPort: 8080 |
| 24 | - containerPort: 8085 |
| 25 | - containerPort: 9090 |
| 26 | - containerPort: 16000 |
| 27 | - containerPort: 16010 |
| 28 | - containerPort: 16201 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 29 | readinessProbe: |
| 30 | tcpSocket: |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 31 | port: 2181 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 32 | initialDelaySeconds: 5 |
| 33 | periodSeconds: 10 |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 34 | volumeMounts: |
| 35 | - name: localtime |
| 36 | mountPath: /etc/localtime |
| 37 | readOnly: true |
| 38 | volumes: |
| 39 | - name: localtime |
| 40 | hostPath: |
| 41 | path: /etc/localtime |
Borislav Glozman | 5197e2e | 2017-07-24 10:45:28 +0300 | [diff] [blame] | 42 | imagePullSecrets: |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 43 | - name: "{{ .Values.nsPrefix }}-docker-registry-key" |